Re:Apple Silicon M1 Chips and Docker
by lights0123 on Monday November 16, 2020 @10:23PM
(#25119969)
Docker for Mac already can build and run cross-arch containers: https://docs.docker.com/docker-for-mac/multi-arch/
And if you're on x86, you can run ARM containers with QEMU userspace emulation seamlessly after running
docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
The inverse would be extremely easy as well.
Re:Apple Silicon M1 Chips and Docker
by gilgoomesh on Monday November 16, 2020 @10:28PM
(#25119996)
Hmm. I would guess then that Docker would be aiming for both emulation and hypervisor. Seems reasonable.
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.