3 ms·
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 Hy
by gilgoomesh 6y ago
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/about_the_rosetta_translation_environment 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.
- lights0123 6y agoDocker for Mac already can build and run cross-arch containers: https://docs.docker.com/docker-for-mac/multi-arch/ 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.
- gilgoomesh 6y agoHmm. I would guess then that Docker would be aiming for both emulation and hypervisor. Seems reasonable.
- viraptor 6y agoSeamlessly, 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.