for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Unable to create - The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Element not found.

Open narayask opened this issue 7 years ago • 2 comments

Hi Team, I have installed Docker Desktop 19.03.4 stable on Windows 10 Enterprise system, I am able to see docker running in "Docker setting", getting below error while running docker commands. I have restarted the docker services as below and still no luck.
net stop com.docker.service and net start com.docker.service

C:\Windows\system32>docker -- version Client: Docker Engine - Community Version: 19.03.4 API version: 1.40 Go version: go1.12.10 Git commit: 9013bf5 Built: Thu Oct 17 23:44:48 2019 OS/Arch: windows/amd64 Experimental: false error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/version: 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.

C:\Windows\system32>docker run hello-world docker: error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/containers/create: 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. See 'docker run --help'.

Below is the Error while starting Docker desktop. Unable to create - The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Element not found.

at Docker.Core.Pipe.NamedPipeClient.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Docker.Core.Pipe.NamedPipeClient.Send(String action, Object[] parameters) at Docker.Actions.DoStart(SynchronizationContext syncCtx, Boolean showWelcomeWindow, Boolean executeAfterStartCleanup) at Docker.Actions.<>c__DisplayClass24_0.b__0() at Docker.ApiServices.TaskQueuing.TaskQueue.<>c__DisplayClass17_0.<.ctor>b__1()

Can someone help me with this. I am a beginner.

Thanks Sanjeev Kumar N

narayask avatar Nov 05 '19 15:11 narayask

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Feb 04 '20 01:02 docker-robott

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jul 11 '20 03:07 docker-robott