Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker container fails to start on Raspberry Pi 5 #1233

Open
maxvaer opened this issue Feb 27, 2024 · 2 comments
Open

Docker container fails to start on Raspberry Pi 5 #1233

maxvaer opened this issue Feb 27, 2024 · 2 comments

Comments

@maxvaer
Copy link

maxvaer commented Feb 27, 2024

If I try to start the docker container a Raspberry Pi 5 like:
docker run -it -p 3000:3000 dradis/dradis-ce
the command fails with the following error:
exec /usr/local/bundle/bin/bundle: exec format error
A quick google search reveals, that this seems to be a platform relatet issue:
https://stackoverflow.com/questions/73285601/docker-exec-usr-bin-sh-exec-format-error
Relevant Docker inspect output:

"Architecture": "arm64",
"Os": "linux",

Output of uname -a:
Linux ubuntu 6.5.0-1010-raspi #13-Ubuntu SMP PREEMPT_DYNAMIC Thu Jan 18 09:08:04 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Some dependencies seem not to work with the Raspberry Pi architecture.

@aapomm
Copy link
Contributor

aapomm commented Feb 29, 2024

Thanks for reporting @maxvaer! I just want to note that our Docker setup is still a WIP. In the meantime, can you confirm if you're getting the same result when using the arm64 image by adding the option in your docker run: --platform=linux/arm64?

@maxvaer
Copy link
Author

maxvaer commented Mar 4, 2024

Thanks for your reply.
This still results in the same output:
docker run -it --platform=linux/arm64 -p 3000:3000 dradis/dradis-ce
Outputs: exec /usr/local/bundle/bin/bundle: exec format error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants