Hacker News new | ask | show | jobs
by symlinkk 2005 days ago
Isn’t WSL2 just a VM? No more special kernel subsystem trickery? In that case it should be almost exactly the same as the macOS version of Docker.
2 comments

Yes, but Hyper-V is a type 1 hypervisor, WSL runs alongside Windows, not on top of it.

Plus Windows also has containers, Docker is only using WSL for Linux images, Windows containers are used for Windows images.

And on Windows Server the containers can run directly on top of Hyper-V as well.

We had painful experiences with Windows containers, from being incapable to run CUDA through it to solutions that are not battle-tested and an ecosystem that is not as matured as the Linux one.
Except hyper-v is a very mature hypervisor, and supports thing like dynamic memory allocation for VM's.