-
Notifications
You must be signed in to change notification settings - Fork 33
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
Build images with aarch64/arm64 support #47
Comments
Hi @wdconinc , thank you for reaching out! Do I understand correctly that at least some of the current images can be used as-is, although with a performance penalty? At the moment we don't really have the personpower to work on this but I have assigned the issue to me so it doesn't get forgotten. |
They can be used as is, but with a performance penalty due to emulation. |
Hello @eguiraud , I was just about to ask the same as @wdconinc ! I was running some performance benchmark tests for computing resources estimations (K8s cluster) and I just discovered that my docker image wasn't arm64. This would be very useful if this was deployed with these two main architectures |
Hi @xkzl, thanks for reporting and we hear you. I also added myself to this issue. I will keep you updated once this is done (but it might be non-immediate). Cheers, |
Hi, @martamaja10 any progress on this ? I noticed some perfs issue on my ARM computers due to emulation of x86_64.
|
Several of the docker images for which recipes are provided here should work 'just fine' with aarch64 architectures to run natively on Mac M1/M2 architectures (fedora has a multiarch base images and fedora makes aarch64 packages available), but others may require work (ubuntu downloads the x86_64 build from root.cern, where no aarch64 is made available). Is it possible to push at a minimum 1 image with arm64 (i.e. aarch64) support to docker hub?
The procedure to build a multiarch image with least amount of effort (even if it would take a bit of time) is described in https://docs.docker.com/build/building/multi-platform/. Essentially, the following commands may be sufficient:
I am not a direct user, but it would facilitate our offerings of HSF Training workshops if Mac users could get up and running with an image that can run at native speeds. I think a phased rollout where not all images are supporting arm64 from the start would be fine.
The text was updated successfully, but these errors were encountered: