Ever since I switched to an M1, I haven't found a way to reliably build and run x86_64 containers on it.
Docker desktop with Qemu is not just painfully slow, it's also very buggy and some containers just can't be built without crashing.
Is there any alternative?
https://github.com/lima-vm/lima/blob/master/docs/multi-arch....
A try, I’ve been using it for a few months on both m1 and x64.
It works really well.
Run x86 Linux of your choice there, install Docker inside there. Run it there.
maybe it works faster than qemu for a chrooted environment.
After the November 2020 release of the M1 Macs, Docker and many developer tools were still not available and you would have to wait 6 - 8 months for Docker to be fully supported and out of beta for M1 Macs.
Not quite ideal to wait for your tools to be available on your machine for more months in order to do any work on it.
The smartest thing anyone would have done to save themselves from disappointment and frustration as a developer is by simply using your existing Intel Macs and 'waiting' for the software ecosystem to catch up with the Apple Silicon Macs.