LogAndThrowIfUnexpectedExitCode ( String prefix, ILogger log, Int32 expectedExitCode ) in C : \workspaces\stable - 2.5. Weitere Informationen finden Sie unter https : //aka.ms/wsl2-installīei Docker. Stdout : Aktivieren Sie bitte das Windows - Feature „ Virtual Machine Platform ” und stellen Sie sicher, dass die Virtualisierung im BIOS aktiviert ist. InvalidOperationException : Failed to deploy distro docker - desktop to C : \Users\admin\AppData\Local\Docker\wsl\distro : exit code : - 1
Docker desktop hyper v install#
The VM is running off of a bare metal install of Windows 10 on a passed through HDD (when booting directly into that Windows it works). Having the same problem trying to start Docker with WSL2 backend inside a Win10 VM with passed through NVidia GPU (if that's relevant).
![docker desktop hyper-v docker desktop hyper-v](https://www.docker.com/wp-content/uploads/engineering/2019/10/wsl2_docker_settings-1110x679.jpg)
describes same behaviour 3 years ago and attributes it to a bug that I assume should be fixed by now?Īt this point I'm out of ideas and my google-fu has let me down. Any help would be appreciated.īase VM conf (without all the fix attempts):
![docker desktop hyper-v docker desktop hyper-v](https://i.stack.imgur.com/AuPcT.png)
I also tried: but it didn't seem to change behaviour. Hardware assisted virtualization and data execution protection must be enabled in the BIOS. "Virtualization: Enabled" seemed lika good thing and it also seemingly fixed the driver issue:īut the HV Host Service behaves still in the exact same manner (so maybe this driver thingy is not relevant at all?)Īnd when I try to run Docker Desktop, it fails with a new message: Which resulted in W10 not being aware that it is a VM: I have retried disabling-enabling features and reinstalling docker desktop with same end result. I also assumed the service issue was caused by this driver problem: I am assuming it is because one of the hyper-v services is not running and won't start (in a physical machine with docker working, it is running) : Unable to start Hyper-V VM: 'DockerDesktopVM' failed to start.įailed to start the virtual machine 'DockerDesktopVM' because one of the Hyper-V components is not running. I could enable hyper-v features in W10 VM and as far as I can determine they should be working:ĭocker Desktop installs fine, but it won't actually start: (and yes, there is specific reason why I would like to run docker inside the VM and not just connect to unraid's daemon)Īs far as i can determine, it should be working, but it simply isnt.
Docker desktop hyper v how to#
TLDR: How to get docker desktop running inside W10 VM (if it is even possible)?