News for hackers. Stuff that matters.
Re:WSL2 can now mount Linux ext4 disks directly by porker on Tuesday November 09, 2021 @08:46AM (#29161629)
And what do people do for versioning software on WSL2? My benefit with full-blown VMs is that when piece of software I'm writing needs specific packages, I can set them up and not affect anything else.

This goes beyond venv, virtualenv, nvm to having multiple database point releases installed, or underlying graphics processing libraries.

I like the speed and seamlessness of WSL2 but my nightmare on Windows and OSX has been the mismatch of versions which when you've 20+ projects over a few years starts to make keeping them all in running states a nightmare.

Is the WSL2 answer to VMs to use WSL2+Docker?

Re:WSL2 can now mount Linux ext4 disks directly by rocqua on Tuesday November 09, 2021 @08:58AM (#29161779)
Yeah docker for repeatability. Has the advantage of making it much more reproducible for others. A dockerfile and docker-compose.yml are much easier to check into git than a full VM image.
Re:WSL2 can now mount Linux ext4 disks directly by TheGuyWhoCodes on Tuesday November 09, 2021 @09:03AM (#29161834)
yes, WSL2+Docker works well enough and a lot of tools have wsl and Docker integration so it's easy.

If you already use docker containers it's a win win.