Raspberry pi: standard_init_linux.go:190: exec user process caused "exec format error"
See original GitHub issueWhat do I need to do to get the python3.6 container running on a Raspberrypi 3?
> docker run -it tiangolo/uwsgi-nginx-flask:python3.6 bash -il
standard_init_linux.go:190: exec user process caused "exec format error"
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Standard_init_linux.go:190: exec user process caused "exec ...
Hello, on an arm based orangepipcplus this command fails: docker ... Standard_init_linux.go:190: exec user process caused "exec format error.
Read more >Raspberry PI: exec user process caused "exec format error" #2
Hi I tried to use EdgeDB on a PI (Raspbian) using Docker, but I issued with this error: root@raspberrypi:~# docker run -it --rm...
Read more >exec user process caused "exec format error" - Stack Overflow
I'd recently moved my docker stuff to Kubernetes on a raspberry pi - forgetting the different architecture - had to change all my...
Read more >exec user process caused "exec format error" - You.com
Hi, I'm trying to run your container on a raspberry pi and I'm getting the following error. standard_init_linux.go:190: exec user process caused "exec...
Read more >On Docker Build => standard_init_linux.go:190: exec user ...
On Docker Build => standard_init_linux.go:190: exec user process caused "exec format error" ... Here is a photo of the Dockerfile trying to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks for the help! That solves it!
Just for posterity, these are the commands I ran from start to finish for a working build
Raspberry Pi requires images to be compiled for that architecture, ARM. And although Docker now supports different architectures, and I understand the image format also supports specifying architectures, there’s no way to handle it through Docker Hub with the “standard” Docker Hub automated build.
I have already taken several steps (actually some months ago) to make the image, configuration and dependencies compatible with multi-arch (I’ve worked a lot with Pis). The only step missing is Docker Hub support for automated building images for Raspberry Pi.
For now, I suggest you try cloning this repository in your Pi and building the base image locally. In theory, it should all work. After that, you can run your image normally:
And then run again:
I’m not running all those commands right now as I’m typing them here, so it’s possible that y put a typo there (so, copy-pasting might not work). Please make sure they are right locally.
And let me know how it goes.