7 ms·
WSL 2 can't coexist with other virtual machine software though (unless it leverages Hyper-V)
by shawnz 7y ago
WSL 2 can't coexist with other virtual machine software though (unless it leverages Hyper-V)
- sebazzz 7y agoGood chance that your other VM software can't co-exist anyway. Many other technologies, Windows Defender among others, leverage virtualization through Hyper-V.
- shawnz 7y agoHyper-V is not installed by default on Windows and I have not been required to install it for anything except WSL 2 (and Hyper-V itself). I think Docker on Windows also uses it but I don't use that. Windows Defender has never indicated a requirement for Hyper-V to me.
- mehrdadn 7y agoI think by Windows Defender they might've been thinking of the Sandbox?
- sebazzz 7y agoIt is not anywhere in the Windows features dialog mentioned explicitly but many features install an hypervisor under the covers. Not Hyper-V itself but a hypervisor which inhibits other VM hypervisors from functioning.
- shawnz 7y agoIf you are talking about "Windows Hypervisor Platform", that indeed has Hyper-V as a dependency.
- rb12345 7y agoCredentialGuard uses Hyper-V, so it could be that.
- blackoil 7y agoLatest version of VirtualBox and VMWare support Hyper-V and Docker latest/beta supports WSL2. That should solve most use cases.
- shawnz 7y agoI have had a number of problems trying to use the Hyper-V backend with VirtualBox. In my experience it has caused frequent crashing in my VMs which remains even after disabling Hyper-V.