Unable to create docker

Unable to create docker

Creator
Creator
Seonglae Cho
Created
Created
2020 Sep 27 10:42
Editor
Edited
Edited
2023 Mar 28 5:54
Refs
Refs
  • Symptom
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 'MYCOMPUTERNAME' 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, <No file>: line 131 at <ScriptBlock>, <No file>: line 385 at Docker.Backend.ContainerEngine.Linux.DoStart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 246 at Docker.Backend.ContainerEngine.Linux.Restart(Settings settings, String daemonOptions) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Backend\ContainerEngine\Linux.cs:line 182 at Docker.Core.Pipe.NamedPipeServer.<>c__DisplayClass9_0.<Register>b__0(Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 47 at Docker.Core.Pipe.NamedPipeServer.RunAction(String action, Object[] parameters) in C:\gopath\src\github.com\docker\pinata\win\src\Docker.Core\pipe\NamedPipeServer.cs:line 145
notion image
  • reference
  • try1 - fail
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"
  • reason - linux container
 
 
 
 
 

Recommendations