


WLS2, Virtual Machines, and Docker also works. After reboot launch Hyper-V Manager and voila, try creating a quick VM with an iso, if you are running into issues on boot use Generation 1 option. WSL uses hyper-v in the background, but the full features are not enabled by default, check all options under Hyper-V, and reboot machine. I instead just created a new Win7 VM which then I installed a few things needed for my simulator. Please note migrations are always painful, now I had left my VM paused on vbox, and I don't know if that caused my failure when importing disk on hyper-v but I didn't feel like reverting the whole process to get vbox working and convert disk again.

Now if you're like me and have tons of already created virtual boxes, then you might want to look at conversion guides like this one. So yes, there is a need for all these technologies to coexist without having to run scripts or some cumbersome way of turning on/off one or the other.įor me the solution was to start using Hyper-V Manager for creating virtual machines. Personally I've built a few Windows VMs with simulators needed for my job, these are things that I can't run on linux containers. However WSL2 uses some windows features which causes other third party virtualization programs to stop working I am talking mainly about Virtualbox and VMware.īefore you say anything about why use virtualization if you have WSL, these are really two different technologies.

Plenty of people like WSL, you get a nice Linux layer inside windows and can get native linux tools and test code deployments all within one machine, it also blends nicely within windows explorer and the new windows terminal. In this post I go over some of the issues you might be running into if you run WSL2 on windows and have used VirtualBox or VMWare for virtualization.
