Hacker News new | ask | show | jobs
by throwawaaarrgh 1319 days ago
Best part: it's QEMU so you can choose your CPU architecture and run x86_64 containers on ARM Macs
4 comments

I'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.
x86_64 containers on ARM mac are extremely slow.
It seems this may get better soon, when they run via Rosetta 2 rather than QEMU(?)

https://github.com/docker/roadmap/issues/384

I 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.

Podman works the same way.
That works via qemu userspace emulation inside of VM so docker desktop has it too (might need to install qemu binfmt_misc hooks package)