4 ms·
Which is exactly what docker desktop on macOS does as well. Unless you're doing iOS or macOS development, contrary to common belief WSL2 is actually integrated
by rjzzleep 3y ago
Which is exactly what docker desktop on macOS does as well. Unless you're doing iOS or macOS development, contrary to common belief WSL2 is actually integrated better than it's mac counterparts. You can even mount other linux partitions into WSL.
- nottorp 3y agoDocker desktop is a piece of crap on macOS. It allocates half your ram for a linux VM and then allocates other linux VMs inside it. If you're doing servers, that's 7+ Gb of ram wasted since your work VMs will at most use hundreds of megabytes. I sure hope WSL does better :)
- teaearlgraycold 3y agoI like the MBP hardware. I think once I feel comfortable relying on Asahi it would be nice to run that instead of MacOS.
- icedchai 3y agoDocker desktop works fine. You can change the memory settings, you realize?
- nottorp 3y agoNo i don't realize anything. I had it on just to reproduce a backend and connect to it with my stuff for a while. I just copied whatever the linux (which doesn't have the same problem) backend had and did my work. Defaults matter. And wasteful defaults denote a certain mindset. Not a good one.
- icedchai 3y agoWith Docker on MacOS (and Windows), it needs to start a Linux VM so containers can run. This is transparent to the user. With Linux, they run natively, so no VM needed. VMs require an upfront memory allocation, so this is the reason for the difference. You could also Google "Mac Docker Desktop Memory" and look at the first link.