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

Add support for arm64 in Docker image #131

Closed
marfier opened this issue Mar 18, 2021 · 5 comments
Closed

Add support for arm64 in Docker image #131

marfier opened this issue Mar 18, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@marfier
Copy link

marfier commented Mar 18, 2021

Is your feature request related to a problem? Please describe.
I can't run the openbullet/openbullet2 image on my Raspberry Pi 4 because it only supports amd64.

Describe the solution you'd like
Add arm64 compatibility in the openbullet/openbullet2 image.

Describe alternatives you've considered
I couldn't compile as directed in the forum page for the same reason.

@marfier marfier added the enhancement New feature or request label Mar 18, 2021
@openbullet
Copy link
Owner

Done in 9db9f8b you should be able to use the image on your rpi4 starting from update 0.1.7

@marfier
Copy link
Author

marfier commented Mar 19, 2021

I am still getting the same issue, even on 0.1.7:

ubuntu@ubuntu:~$ sudo docker run --name openbullet2 --rm -p 8069:5000 -v UserData:/app/UserData -it openbullet/openbullet2:latest
sudo: unable to resolve host ubuntu: Name or service not knownWARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
standard_init_linux.go:219: exec user process caused: exec format error
ubuntu@ubuntu:~$

It seems like linux/arm64 is now supported, but not linux/arm64/v8.

@openbullet
Copy link
Owner

Alright thank you for the feedback, @meinname will take a look tomorrow

@openbullet openbullet reopened this Mar 19, 2021
@meinname
Copy link
Collaborator

meinname commented Mar 19, 2021

It seems docker has some problems to use the right architecture:
docker/for-linux#1170 (comment)

So let's approach it from both directions:
I set it now to explicitly to linux/arm64/v8 instead of just linux/arm64 and i moved the arm builds to top of the list e0261eb
So hopefully on 0.1.8 it will be no problem anymore.

And in the meantime you can see if it is fixed with the latest docker version.

@openbullet
Copy link
Owner

@GalacticLion7 0.1.8 is live, please test

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

No branches or pull requests

3 participants