It’s the cross-OS filesystem stuff that always killed it on Docker for Mac (and to a lesser extent Docker for Windows).
I believe improvements have been made, but a lot of people these days check out their code directly in the container rather than using bind mounts, leveraging the fact that a lot of editors/IDEs now will interface directly with the containers.
Re:Lightweight Alpine VMs on macOS
by idontwantthis on Monday November 28, 2022 @08:14PM
(#33782406)
That’s been massively improved with VirtioFS. I work with mounted code and I agree it wouldn’t be possible without it.
Docker Mac m1 is my daily driver. Painless performance.
But... watch out for software compatibility: m1/m2 requires recompiling from source which is painless... when it works. I recently needed syslinux and had to move to x86 cloud instance. Fortunately, docker made that easy.
I abandoned Docker on the Mac because of that, and haven't touched it since. That was early 2021; maybe it's faster now.