PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

Build Docker image failed on Raspberry Pi

Open edysantosa opened this issue 10 years ago • 2 comments

Expected Behavior

A Docker image should be created

Actual Behavior

Failed to create image

Steps to Reproduce

Running command to build image

$ docker build -t pokemongo-bot .
Sending build context to Docker daemon 5.463 MB
Step 1 : FROM python:2.7-onbuild
# Executing 3 build triggers...
Step 1 : COPY requirements.txt /usr/src/app/
 ---> Using cache
Step 1 : RUN pip install --no-cache-dir -r requirements.txt
 ---> Running in 1cd2b3867cce
rpc error: code = 2 desc = "oci runtime error: exec format error"

Other Information

OS: Arch Linux ARM

edysantosa avatar Aug 07 '16 12:08 edysantosa

Same problem here on my RPi 3..

BlazeMuisNL avatar Aug 07 '16 14:08 BlazeMuisNL

I got the same problem. Maybe the docker image you are using is built for x86/x64 architecture. And your cpu is based on ARM.

bobxwu avatar Nov 09 '17 07:11 bobxwu