Raspberry-pi docker error: standard_init_linux.go:178: exec user process caused “exec format error”

I’ve installed docker in rapsbian according to the official instructions (i.e., running curl -sSL https://get.docker.com | sh) but I’m not able to run the hello-world example (I’ve also tried other examples without success). This is the error I’m getting:

pi@raspberrypi2:~ $ docker run hello-world
standard_init_linux.go:178: exec user process caused "exec format error"

My environment is Raspberry Pi 2 Model B with Raspbian GNU/Linux 8 (jessie) and Docker version 17.03.0-ce, build 60ccb22.

  • How do I send app logs to Elasticsearch from within a Dockerized Node app?
  • how to have gradle copy all the non-transitive dependencies, stripping the version number?
  • Docker container does not give me a shell
  • Starting an app fails
  • Containers are being spawned however the issued command fails when spawning multiple number of docker containers
  • {“message”:“No such image: jenkins_slave_1:latest”}
  • Any hint about the problem or possible directions to solve the problem?

    Many thanks!

  • GUI's with Docker
  • Deploying Perl Docker Container to Elastic Beanstalk
  • Local Wordpress env with Docker Compose - cURL error 7: Failed to connect to localhost port 8080: Connection refused
  • Update odoo custom module using docker-compose
  • Open CV error failed to init raw1394 persisting in docker
  • java.util.regex.PatternSyntaxException when using sbt docker:publishLocal
  • One Solution collect form web for “Raspberry-pi docker error: standard_init_linux.go:178: exec user process caused “exec format error””

    Raspberries use ARM and not x86_64 processors. You can only run images created for that architecture. Try searching for ARM or ARMv7 on docker hub. There is a Debian image for ARM I know of but there must be others as well.

    The underlying issue is that the binary format used by ARM is not compatible with x86_64, which is the architecture used by most desktop and server systems.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.