Docker images for ARMv9 CPU (apple m4)

Hi all!
I’m about to purchase the new Mac book pro with apple M4. The M4 is a ARMv9 CPU architecture (specifically ARMv9.2-A) (Apple M4 - Wikipedia).
In this page: GitHub - docker-library/official-images: Primary source of truth for the Docker "Official Images" program I found that only images for ARMv8 version (and before) are supported.

Are there any plan or roadmap to build images for ARMv9? Does images already built for ARMv8 works on ARMv9 (Apple M4)?

Thanks

I read somewhere that v9 is supposed to be compatible with v8 but not guaranteed. In you case since you want to run containers, it would only mean a binary built for v8 could possibly run in a container made for v9, but Docker would see that the architecture is different and wouldn’t run the container without emulating v9. Since Docker Desktop can emulate architectures, you could probably run containers from images built for v8, but emulation is never perfect so in some cases you could run into some issues. How frequently, I don’t know. You could open an issue in the github repo to ask for images built for ARM64v9. Although it is not an actual issue at the moment, it is not about Docker itself but official images so I would probbaly not ask for it in the roadmap. If I’m wrong, they wil redirect you to the roadmap.

But to reply directly to your original question, I have no information about whether arm64v9 is planned or not, but I’m pretty sure it will happen if new Macs will all have this CPU.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.