Docker Community Forums

Share and learn in the Docker community.

Can run ARM/rpi images in docker on windows but not linux

amazonwebservices
docker

(Nite) #1

Hi - I’m able to run the hypriot/rpi-node (ARM) image in docker on windows (64bit), but in all linux x86/64 machines I’ve tried (debian, coreOS, alpine etc) I get the following error, which makes sense to me but I dont get why it’d run in docker on windows then, and I wonder whether I’m missing some opportunity to use an x86 machine as a build server (ie. the default in google/aws cloud). Any ideas?

 docker run -ti hypriot/rpi-node ls
standard_init_linux.go:175: exec user process caused "exec format error"

(Edaubert) #2

I know this post is quite old but I hope it will help:

Run the following:

docker run --rm --privileged multiarch/qemu-user-static:register

Visit http://www.ecliptik.com/Cross-Building-and-Running-Multi-Arch-Docker-Images/ to get more information.