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<
Try this. It's sorting the problem of many people.
cd "C:\Program Files\Docker\Docker"
./DockerCli.exe -SwitchDaemon
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.