3 ms·
Is it not better to run a VM just for Docker, like we have to do on macOS?
by mococa 1mo ago
Is it not better to run a VM just for Docker, like we have to do on macOS?
- gruez 1mo agoThat has all sorts of issues like eating disk space and RAM, because neither can't be released to the host once allocated, but then become unused.
- mococa 1mo agoAt least is secure(tm)
- K0IN 1mo agoI just want to put this out there, smolmachines is a wonderful program to solve this, I use this mostly for stuff needing docker socket / docker in docker (example strix and agents). (I'm using podman on my host)
- Anonyneko 1mo agoAt that point why not just simplify things and go back to Vagrant...?
- dimitarbogdanov 1mo agoDamn, I did not know you need a VM for Docker on macOS. That's kind of ironic, isn't it XD Every day I wake up and thank the universe for MS making WSL2
- skydhash 1mo agoIsn’t WSL2 vm based?
- maleldil 1mo agoWSL2 is also a virtual machine.
- anglesideangle 1mo agoWSL2 is also a VM. docker relies on the linux kernel apis, so it must be ran inside a linux VM on macos or windows
- isityettime 1mo agoWindows does have a native sandboxing API that Docker is capable of using IIRC, but nobody uses it. The macOS situation is even worse in that the kernel lacks the requisite capabilities.
- WD-42 1mo agoI’d rather run real Linux in a VM than a buggy appropriation of it in WSL