Has anyone tried to run production(ish) workloads on WSL? Multipass?
Has anyone tried to run production(ish) workloads on WSL? Multipass?
WSL2 is still work in progress. Currently it misses many features and the provided Linux kernel does not include many kernel modules (several for networking are missing). For example, WSL2 currently does not support bridge networking.
Another limitation in WSL1 is that it cannot run docker. And so on.
It still might be an OK way to obtain *nix based software, and can «see» your windows directory tree without any mounting/configuration. And no VM is needed.
I've commented this in the past, but WSL1 is much faster than WSL2 when interoping with the Windows file system[0]
* WSL2 sees all my CPU cores (Multipass might be able to do that, but I haven't figured out how to yet)
* Home directory integration seems to be there, but require a manual mount (might be just me, I am running this on an Insiders build)
* I was able to run multipass.exe from inside WSL2 and get a shell to its instances without even thinking twice about it :)
I do use WSL1 on my main machine (and have done so for a long while without any significant issues), and might set up Multipass on it and my Macs to work with Docker containers without the slow, pokey Docker Desktop UI (all I really need is a quick way to get a VM running on any of the native hypervisors, and I'm good).
Oh, and cloud-init support is just dandy :)