Docker Community Forums

Share and learn in the Docker community.

Run hello-world report error

dockerhub
docker

(Shawnlu) #1

I install docker on kali and test it with “docker run hello-world”. It reported error like below.

"Unable to find image ‘hello-world:latest’ locally
latest: Pulling from library/hello-world
c04b14da8d14: Pull complete
Digest: sha256:0256e8a36e2070f7bf2d0b0763dbabdd67798512411de4cdcf9431a1feb60fd9
Status: Downloaded newer image for hello-world:latest
docker: Error response from daemon: rpc error: code = 2 desc = “oci runtime error: exec format error”.

I tried to find answer on stackoverflow and only find this

The image that your build is based upon,
resin/rpi-raspbian:wheezy-20160518, is an ARM-based image. Cross
architecture image builds are not supported on Docker Hub. Only
x86-based images can be built in Docker Hub/Cloud.

but my desktop should be x86-based. May I know anyone could sort this out? Thx