Live data from Hacker News

Apple Silicon M1 Chips and Docker

docker.com

1–10 of 129 posts

Re: Apple Silicon M1 Chips and Docker

#6
post #2

This doesn't really clear up any of the questions I have. Will docker running on ARM run docker containers from images built for x86? Will docker running on ARM be able to build images for x86?

Right. if it is building it's own linux kernel and build container it defeats the purpose of having a docker....

Re: Apple Silicon M1 Chips and Docker

#8
post #2

This doesn't really clear up any of the questions I have. Will docker running on ARM run docker containers from images built for x86? Will docker running on ARM be able to build images for x86?

They mention using Apple's Hypervisor Framework. On Apple Silicon, this runs ARM64 programs only (Rosetta 2 is unavailable to programs running inside Apple's Hypervisor Framework).

https://developer.apple.com/documentation/apple_silicon/abou...

Unless they plan to run an emulator inside the Hypervisor Framework (a seemingly unnecessary effort since you could run the emulator without Hypervisor) this implies x86 containers will not work.

Re: Apple Silicon M1 Chips and Docker

#9
post #5

Earlier quoted context omitted.

Through QEMU

isnt that linux specific?

No, although the KVM acceleration is (but there are others; I've used HAXM on NetBSD).

EDIT: Just realized that you probably meant for binary compatibility. That also is not Linux-only, but https://qemu.readthedocs.io/en/latest/user/main.html#support... only talks about Linux and BSD, with no mention of Darwin.

Post reply on HN