Raspberry Pi: "exec format error"
See original GitHub issueDescribe the bug
When I try and run the second command as provided in the Quickstart I get an error as below. Let me know if there’s anything I can do to help. Thankyou.
Steps to reproduce
$ docker run -v ~/archivebox:/data -it nikisweeting/archivebox manage createsuperuser
Screenshots or log output
standard_init_linux.go:211: exec user process caused "exec format error"
Software versions
- OS: Raspbian 10 (buster)
- Python version: 3.7.3
- Chrome version: Chromium 84.0.4147.141 Built on Raspbian , running on Raspbian 10
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Exec format error - Raspberry Pi Forums
This error is almost always caused by trying to run x86 binaries on the Pi. It boils down to: You can't install arbitrary...
Read more >cannot execute binary file: Exec format error on Raspberry Pi
You have just installed .NET on Raspberry Pi and executed the dotnet command on Bash, you received the error message above. One of...
Read more >Raspberry Pi Exec Format Error · Issue #2331 · sharkdp/bat
-bash: /usr/local/bat/bat: cannot execute binary file: Exec format error What did you expect to happen instead? For it to work.
Read more >Exec format error on Raspberry PI Raspbian.
Hi, The installable version of Burp comes with both an embedded version of Java alongside a version of Chromium (that is used as...
Read more >How can I fix exec format error on raspberry pi 4 - Stack Overflow
It's a "LSB relocatable" file, which is not executable since it hasn't been linked because the -c in your command command gcc -march=native ......
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 FreeTop 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
Top GitHub Comments
@pirate You can actually use docker buildx to build images for different architectures. For instance, I use this to build for my Pi3 from my Windows desktop:
docker buildx build --platform=linux/arm/v7 .
ARM is a bit of a special case. You need to build the image on an arm CPU for it to run on arm (or use buildx).
If it still doesn’t work after that, can you post the output of running the
archivebox version
command: