When Docker desktop is installed on a VM hosted on ESXi, at times the docker desktop may fail to start and throw an error -
running Hyper-V engine: starting Hyper-V VM: status code not OK but 500: Unhandled exception: job failed with message: 'DockerDesktopVM' failed to start. (Virtual machine ID )
The Virtual Machine Management Service failed to start the virtual machine 'DockerDesktopVM' because one of the Hyper-V components is not running (Virtual machine ID ).
The reason for this error could be the virtualisation is not enabled on the ESXi host.
To fix, on the ESXi host, find the VM where the Docker desktop is installed, then right click and select Edit Settings. On the Edit Settings window, go to VM Options, then select Enable Virtualization Based Security
To fix, on the ESXi host, find the VM where the Docker desktop is installed, then right click and select Edit Settings. On the Edit Settings window, go to VM Options, then select Enable Virtualization Based Security
Once the VBS option is enabled, reboot the VM then launch the docker.
No comments:
Post a Comment