using WSL 2,
but then I found I cannot start my VM windows 10 now.
What is the solution?
The most important for me is can use VM windows 10 now, docker desktop for windows is not urgently needed currently.
Windows features on my host windows (Windows 11) is shown (not windows 10 in my wm)
To be honest I forgot which feature is compatible with which, but it also depends on how you run the virtual machine. If you for example use VirtualBox (or anything except hyperv), that is not compatible with the hypervisor of Windows.
So if your VM is more important, try uninstalling Docker DEsktop and disable the virtual machine platform and restart Windows.
So you have a win10 host, and want to run a Windows VM and Docker Desktop on it?
It should work with Hyper-V VMs, and VirtualBox/VMware Workstation VMs - though the later two will have a heavy performance penalty, as both will run in Hyper-V compatibility mode, which is used if any Windows features installs a single component of Hyper-v (e.g. like Virtual Machine Platform does). In Hyper-V compatibility mode, no cpu paravirtualization or nested virtualization is available to the vms.
You can either disable the features in your VMâs configuration, or disable the Virtual Machine Platform and Windows Subsystem for Linux features (Which depends on the Virtual Machine Platform feature) - this will prevent Docker Desktop from Working on your host.
thanks, after âtry uninstalling Docker DEsktop and disable the virtual machine platform and restart Windows.â, now my windows 10 in VMWare Workstation can start now.
my host is windows 11 Pro Version 23H2, and have a Workstation 14.x Virtual machine, its OS is Windows 10 Pro, version 22H2. And after install docker desktop on Windows, that workstation 14.x virtual machine windows 10 cannot be started.
After uninstalling Docker DEsktop and disable the virtual machine platform and restart Windows, the workstation 14.x Virtual machine Windows 10 Pro can start now, but then I found after uninstall docker desktop on windows, uncheck windows feature/virtual machine platform, then in command prompt of host windows, type wsl --install, then restart, the windows feature âVirtual Machine Platformâ checked again and the workstation 14.x virtual machine Windows 10 cannot start again"!!
I do not need to run the workstation 14.x virtual machine Windows 10 and docker desktop on Windows simultaneously, it is ok to run either one first and stop the other in that period, then any method?
There is a way on Windows to reboot it with a specific feature enabled or disabled (you can try to search for it), but if you want Linux containers, you can just run a VM using VMWare and install Linux in the VM and Docker CE on that Linux. Unless of course you need Docker Desktopâs features with the GUI.
But⊠Iâm not sure what happens with the data when you disable the virtual machine platform. IF nothing is deleted, then yes, you can switch between too modes.
You could also install Docker Desktop if you can enable âNested virtualizationâ for the VM, but that would be slower. I donât know how much, because I never really tried.