News for hackers. Stuff that matters.
Re:Docker for Mac Without Docker Desktop by InsaneOstrich on Friday January 28, 2022 @12:16PM (#30117524)
This won't work on the new M1 macs since it uses VirtualBox
Re:Docker for Mac Without Docker Desktop by jedisct1 on Friday January 28, 2022 @12:36PM (#30117809)
Yeah :(

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?

Re:Docker for Mac Without Docker Desktop by bbatsell on Friday January 28, 2022 @12:48PM (#30117963)
I haven't tested it, but Lima purports to support it:

https://github.com/lima-vm/lima/blob/master/docs/multi-arch....

Re:Docker for Mac Without Docker Desktop by jbreiding on Friday January 28, 2022 @03:12PM (#30119710)
Give https://github.com/abiosoft/colima

A try, I’ve been using it for a few months on both m1 and x64.

It works really well.

Re:Docker for Mac Without Docker Desktop by InsaneOstrich on Friday January 28, 2022 @01:44PM (#30118695)
My organization decided to hold off on purchasing M1 MacBooks for developers until they're better supported by third party software. Too much stuff just crashes or doesn't work well, even with QEMU and Rosetta.
Re:Docker for Mac Without Docker Desktop by rvz on Friday January 28, 2022 @03:26PM (#30119874)
Exactly.

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.

Re:Docker for Mac Without Docker Desktop by Rucadi on Friday January 28, 2022 @01:17PM (#30118371)
Have you tried https://threedots.ovh/blog/2021/01/huawei-exagear-x86_64-app...

maybe it works faster than qemu for a chrooted environment.

Re:Docker for Mac Without Docker Desktop by c7DJTLrn on Friday January 28, 2022 @05:13PM (#30121160)
I don't have anything of substance to add but I can definitely echo your experience. I'm still in love with the M1 chips but it is definitely not a seamless transition if you work with Docker a lot. I've had containers behave really strangely and unreproducibly.
Re:Docker for Mac Without Docker Desktop by therealmarv on Friday January 28, 2022 @01:07PM (#30118248)
Try UTM https://mac.getutm.app/

Run x86 Linux of your choice there, install Docker inside there. Run it there.

Re:Docker for Mac Without Docker Desktop by PolCPP on Friday January 28, 2022 @02:43PM (#30119391)
You'll get the same issues, since utm uses qemu. Tried it a few days ago with x64 linux only to have the os crash while copying stuff over smb
Re:Docker for Mac Without Docker Desktop by navels on Friday January 28, 2022 @05:17PM (#30121207)
FWIW I switched from Docker Desktop to UTM+Ubuntu+Docker a few months ago and it has been great.
Re:Docker for Mac Without Docker Desktop by PolCPP on Friday January 28, 2022 @05:42PM (#30121475)
ARM Ubuntu or X86?
Re:Docker for Mac Without Docker Desktop by navels on Friday January 28, 2022 @06:11PM (#30121765)
ARM 21.10. Greatly improved disk performance. (Not measured, just based on my dev experience with the RoR + MySQL app I am working on.). I did find file sharing via WebDAV and SMB to be lacking so ended up going with sshfs.
Re:Docker for Mac Without Docker Desktop by lmarcos on Friday January 28, 2022 @08:38PM (#30122879)
VMware fusion plus Vagrant.