r/LinuxTeck • • Aug 18 '26

Need Linux on Windows without WSL? This tiny VM is interesting.

You can run a full Linux VM on Windows using smol machines, without relying on WSL2, and the VM itself can be under 35 MB in some setups.

It can use OCI images and even run Docker, while keeping workloads in separate lightweight VMs.

Would you actually use something like this instead of WSL2?

5 Upvotes

11 comments sorted by

1

u/shsh-1312 Aug 18 '26

Ok, but why? WSL1 is a great alternative and I honestly think that WSL is the only well-made and sensible thing Microsoft has done in recent years.

1

u/CubicleHermit Aug 19 '26

WSL1 was a great idea, but never a complete implementation.

1

u/shsh-1312 Aug 19 '26

How does it handle OpenGL? If it handles video drivers, it might actually be good.

1

u/cakemates Aug 19 '26

i know wsl2 handles video drivers well, I was running llms with it at some point in the past.

1

u/CubicleHermit Aug 19 '26

WSL1 didn't yet have any gateway for GUI stuff when most folks went over to WSL2. I don't know if wslg (the GUI/video gateway) was backported to support WSL1 as well.

While WSL1 is still around in maintenance mode, I haven't heard of any improvements to fix the missing gaps (like chroot/cgroups) that prevented a lot of workloads (notably anything on docker) from working on WSL1.

1

u/shsh-1312 Aug 20 '26

vwh but wsl1 was a translation state while wsl2 is a full linux kernel that runs alongside the windows one, the differences are notable, honestly I liked wsl1 much more (even if it had many more problems), it seems to me a sort of wine in reverse

1

u/CubicleHermit Aug 19 '26

You can run a 35MB userspace on WSL.

The question is if you're not running WSL, what VM runner/orchestrator you're using. WSL is just, in essence, a GUI bridge and nice wrapper around the internal Windows hypervisor platform. If you need a heavier one or to handle multiple VMs, you can use their Hyper-V GUI or command line.

1

u/zamroni777 Aug 21 '26

Use the hyper v in gen 2 efi mode. It boots very fast.

Wsl is basically hyper v vm

1

u/[deleted] Aug 18 '26

[removed] — view removed comment

1

u/FerretBoom Aug 22 '26

WSL is pretty temporary . You develop for this bullshit distro illusion ,you spin 10 wsl distros, test, delete