Docker Community Forums

Share and learn in the Docker community.

Docker update bug and questions about Windows HyperV

I just updated 2 of my machines, both running Docker Desktop on Windows. On both machines I encountered this bug:

After updating, my Hyper-V VM was gone… When I right clicked on Docker the option “Switch to Linux Containers” showed. My Windows containers were running fine and I could see them in Docker dashboard.

But I didn’t know where my VM had gone so I decided to click “Switch to Linux Containers”… then my VM appeared. But the menu still said “Switch to Linux Containers”. So somehow in the upgrade it seems to have actually switched to using Linux containers, but the menu still remembered it was using Windows Containers.

Q: How were my Windows containers running when there was no VM in HyperV for Docker?

Q: How does Docker share resources (CPU & RAM) between containers?

Q: When Docker removes the HyperV VM and recreates it each time - it resets the VM resources back to some lame 2gb ram and 2 processors. Is it possible to tell Docker to recreate the VM with 20 cores and 32gb of RAM each time?

I’m not sure if I’m seeing the same issue as you, but since updating to 1709 last night, I can no longer launch a Docker QuickStart Terminal. I get two UAC prompts, which I accept, but it fails regardless with:

Starting “default”…
(default) Check network to re-create if needed…
Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --type headless failed:
VBoxManage.exe: error: The virtual machine ‘default’ has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in ‘C:\Users\Craig.docker\machine\machines\default\default\Logs\VBoxHardening.log’
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine

Details: 12:01:00.825297 NAT: DHCP offered IP address 10.0.2.15
Looks like something went wrong in step ´Checking status on default´… Press any key to continue.