News for hackers. Stuff that matters.
Re:Apple Silicon M1 Chips and Docker by gilgoomesh on Monday November 16, 2020 @10:01PM (#25119851)
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 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.
Re:Apple Silicon M1 Chips and Docker by viraptor on Tuesday November 17, 2020 @07:05AM (#25122771)
Seamlessly, but with a heavy performance impact. In my experience it's not really usable in anything other than running specific single tests, or some short demos.