Search code examples
dockervmwareesxi

it is possible to install docker desktop on VMWARE ESXI?


it is possible to install docker desktop on virtual machine (vmware) windows 10 on a VMWARE ESXI ?

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.1 Installation failed Component 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?)


Solution

  • 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.