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.

  • Cannot Access Docker Phpmyadmin via Port
  • “I have no name!” as user logging into Jenkins in a docker container that uses Tini
  • How do Chef and Docker work together
  • Clear logs in native Docker on Mac
  • Rails server is still running in a new opened docker container
  • Elasticsearch won't run with Docker
  • Any hint about the problem or possible directions to solve the problem?

    Many thanks!

  • How to access boot2docker-ip from inside a docker container
  • Use domains instead of ports for multiple Docker containers
  • What files are the .dockerignore work on?
  • javax.naming.NameNotFoundException: Name [jdbc/projectCon] is not bound in this Context. Unable to find [jdbc]
  • How to resize docker container's cpu-share value dynamiclly?
  • Error while running "docker-compose up
  • 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.