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

Support multiarchitecture images in Docker #24

Open
aarroyoc opened this issue Jul 9, 2019 · 2 comments
Open

Support multiarchitecture images in Docker #24

aarroyoc opened this issue Jul 9, 2019 · 2 comments

Comments

@aarroyoc
Copy link

aarroyoc commented Jul 9, 2019

Currently Docker supports multiarchitecture images, where the appropiate image for the architecture is chosen at runtime (https://developer.ibm.com/linuxonpower/2017/07/27/create-multi-architecture-docker-image/).

I found out that in Raspberry Pi just using this:

docker pull swipl:8.16

downloads the amd64 image instead of the arm32v7 image. However, Docker supports multiple architectures by combining manifests, so that command will download the arm32v7 image on my Raspberry.

@ninjarobot
Copy link
Contributor

The docker official images support them slightly differently, but we are building for both arm architectures.

@aarroyoc
Copy link
Author

Yes, I know that the image arm32v7/swipl:8.16 image exists but, it forces me to use two different Dockerfiles when I try to use it on desktop and on Raspberry. It's already possible to use the same name to do multiarchitecture (for example, alpine or nginx will just select the correct architecture at runtime)

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