Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start docker on Win 10 Enterprise #3440

Open
meetjaydeep opened this Issue Feb 21, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@meetjaydeep
Copy link

meetjaydeep commented Feb 21, 2019

Expected: Docker should start when I switch to Linux containers

Actual: Docker stops with below error

Unable to create: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Hyper-V encountered an error trying to access an object on computer 'AP-PUN-LP4283' because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running.
at New-Switch, : line 117

@meetjaydeep

This comment has been minimized.

Copy link
Author

meetjaydeep commented Feb 21, 2019

I followed below steps as a workaround.

A. Solve Hyper-V CFG issue
1, Open "Window Security"

2, Open "App & Browser control"

3, Click "Exploit protection settings" at the bottom

4, Switch to "Program settings" tab

5, Locate "C:\WINDOWS\System32\vmcompute.exe" in the list and expand it

6, Click "Edit"

7, Scroll down to "Code flow guard (CFG)" and uncheck "Override system settings"

8, Start vmcompute from powershell "net start vmcompute"

B. Run powershell command MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof
Hyper-V manager error

Then I got below error which I resolved by restarting the Docker.

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/containers/json: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.