3 ms·
Best part: it's QEMU so you can choose your CPU architecture and run x86_64 containers on ARM Macs
by throwawaaarrgh 4y ago
Best part: it's QEMU so you can choose your CPU architecture and run x86_64 containers on ARM Macs
- dilyevsky 4y agoThat works via qemu userspace emulation inside of VM so docker desktop has it too (might need to install qemu binfmt_misc hooks package)
- Hasnep 4y agoI've been telling my colleagues with M1 Macs to use the --platform linux/arm64 argument with Docker Desktop and that seems to be working for them.
- Art9681 4y agoPodman works the same way.
- ec109685 4y agox86_64 containers on ARM mac are extremely slow.
- anentropic 4y agoIt seems this may get better soon, when they run via Rosetta 2 rather than QEMU(?) https://github.com/docker/roadmap/issues/384 https://github.com/docker/roadmap/issues/384
- dmix 4y agoI found even with ARM Docker containers were already slow as it was. I also never understood the justification for the added complexity it created, but I also don't have a dedicated ops team at my job to solve my problems.