Reputation: 1780
I want to build my docker image for the new Apple M1 CPU. I went to see architecture in one of official docker images and I see the following ARM architectures listed:
linux/arm/v5
linux/arm/v7
linux/arm64/v8
What's the difference and which one should I use?
Upvotes: 11
Views: 7415
Reputation: 10075
M1 / Apple Silicon uses the linux/arm64/v8
architecture. Docker will show a warning when running a non-native image:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Upvotes: 9