Hacker News new | ask | show | jobs
by dimitarbogdanov 93 days ago
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

4 comments

WSL2 is also a virtual machine.
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
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.

Isn’t WSL2 vm based?
I’d rather run real Linux in a VM than a buggy appropriation of it in WSL