3 ms·
It's more of a file system issue. At least in my case it is. For reasons I don't know Docker interacts with the file system much much slower on Macs than nati
by treis 4y ago
It's more of a file system issue. At least in my case it is. For reasons I don't know Docker interacts with the file system much much slower on Macs than natively. All of the time I mentioned is loading a Rails app before it can run the first test. That takes 100 times longer through Docker. Once it's up and running performance is fine.
- efrecon 4y agoOn Windows, it is more or less the same. I ended up having all my files in the VM and keep windows as a shell around everything. That way, it all feels almost native Linux. Can you do the same on Mac?
- Wowfunhappy 4y agoYou can run Linux VMs on Apple Silicon Macs, yes, using a kernel hypervisor framework built and supported by Apple. I’d feel remiss to not also mention Asahi Linux, which runs on bare metal. It’s not quite ready for prime time yet, but I’d be surprised if it wasn’t within a year, at most. But, I also wouldn’t make a purchase based on that.
- Wowfunhappy 4y agoMy understanding is that the “file system issue” is a direct result of Docker running in a hypervisor rather than natively. Virtual Machines can achieve near-native CPU performance, but they get bogged down by other important details such as file sharing.