I continue to get the following error when trying to start docker on Windows 10 pro. my HyperV is turned on and running: Version 18.04.0-ce-win62 (17151) Channel: edge e0a85f6<
The fix for me was to enable virtualisation in my bios. It'll be in Advanced > CPU Configuration > SVM
- make sure it's enabled
Open Windows Security
Open App & Browser control
Click Exploit protection settings
Switch to Program settings
tab
Locate C:\WINDOWS\System32\vmcompute.exe
in the list and expand it
Click Edit
Scroll down to Control flow guard (CFG)
and uncheck Override system settings
Start vmcompute from powershell net start vmcompute
(or alternately start the Hyper-V Host Compute Service
from the system Services app)
Restart PC
Open Hyper-V as Administrator
Connect to Server, Local computer, OK
The above worked for me. I couldn't run docker, then I realized I couldn't connect to my local machine on hyper-v. I kept reading suggestions to reinstall hyper-v and do some restarts but this is what finally worked.
Try this. It's sorting the problem of many people.
cd "C:\Program Files\Docker\Docker"
./DockerCli.exe -SwitchDaemon