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

multiple architecture support #47

Closed
vielmetti opened this issue Feb 26, 2017 · 2 comments
Closed

multiple architecture support #47

vielmetti opened this issue Feb 26, 2017 · 2 comments

Comments

@vielmetti
Copy link

Support templates that properly handle portainer running on architectures other than amd64.

I'm not sure how this actually gets implemented in the future. In practice, if you are on a linux/arm64 machine, portainer presents you with linux/amd64 images as templates that won't run.

One possibility is another field in the template definition that describes the architectures it runs on; the bigger future is for widespread use of multiarch containers and some run-time check to validate for each container which architecture it is built for.

@vielmetti
Copy link
Author

And an update:

Docker now has "multiarch" images, that run properly independent of the architecture you are on, by providing the correct image to the system based on its type. As of this writing, about 44 of the top 140 official packages on Docker Hub support multiarch.

I did an audit (using Phil Estes @estesp tool mquery) and currently 17/33 of the Portainer templates support multiarch, and of those 9/17 have arm64 versions. This means that on arm64, 9/33 templates "just work", and some others fail mysteriously, and others fail properly.

This is tremendous progress, and there's likely to be more forward progress when the official Alpine container has multiarch support, a task that's being worked on at gliderlabs/docker-alpine#304 .

@deviantony
Copy link
Member

Closing this one as most of the container images now support multi-arch and this is actually defined at image build time.

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