Remix.run Logo
delduca 5 hours ago

Is it not better to run a VM just for Docker, like we have to do on macOS?

gruez 5 hours ago | parent | next [-]

That 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.

delduca 5 hours ago | parent [-]

At least is secure(tm)

K0IN 5 hours ago | parent | prev | next [-]

I 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 5 hours ago | parent | prev | next [-]

At that point why not just simplify things and go back to Vagrant...?

dimitarbogdanov 5 hours ago | parent | prev [-]

Damn, 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

maleldil 5 hours ago | parent | next [-]

WSL2 is also a virtual machine.

anglesideangle 5 hours ago | parent | prev | next [-]

WSL2 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 4 hours ago | parent [-]

Windows 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 5 hours ago | parent | prev | next [-]

I’d rather run real Linux in a VM than a buggy appropriation of it in WSL

skydhash 5 hours ago | parent | prev [-]

Isn’t WSL2 vm based?