i am trying to install desktop docker on my vmware virtual machine with windows 10.I installed the wsl2 support but at the end of the installation docker crashes with the following error:Docker desktop 4.0.1Installation failedComponent CommunityIstaller.ServiceAction failed to start services: The service did not respond to the start or control request in a timely fashion
I have done several tests but I cannot avoid this crash in any way.The Operating System is a build that meets the minimum requirements to install Docker.However, I noticed that Hyper-V is not enabled in the windows features. can this be a problem?I think maybe it's a grafted virtualization problem because I install docker inside a VM. it's possible?How can I solve? (or do you think that i will fix this problem with linux virtual machines?)
Does your host machine have all the advanced flags for 'efficient' nested virtualization? I wouldnt really recommend a third layer install of docker (as the final container is then virtual , on paravirtual (wsl2) on virtual (HyperV), on virtual (Esxi). I heavily assume the performance will be terrible.
And yes: You need Hyper-V, it's a requirement still. I assume, as you say its not available on the features, youre running a windows 10 home? Then sorry, you need at least Windows 10 Pro for Hyper-V support.
But as youre running a ESXI host, go the better performing way: Install any Linux distro of your choise, install docker there - if you wanna use it for Visual Studio etc. , you can still remotely debug etc. - and its performing better than on an a even deeper nested virtualized windows-wsl2. And btw: if its because of GUI, simply install the free Visual Studio Code, it offers Docker Tools which offer you many configiruation and monitoring options in a GUI , without enforcing you to do such a super deep nesting.
Yes, it's definitely possible. I'd probably check the hardware assisted virtualization (if available) is enabled. If so, you might want to make sure you've satisfied the rest of the requirements for the WSL2 backend deployment. If you're still having issues, try an older version and try upgrading from there.
I have successfully installed Docker inside a VMware Workstation 16.2.5 build-20904516 Windows 10 VM after following the answer to this ServerFault question " -wsl2-inside-vmware-workstation-15" and then, in the Windows VM, installing Docker for Windows.
03c5feb9e7