Bookmark and Share Subscribe Bookmark and Share



Docker Desktop For Windows “error during connect” or “error response from daemon” error message


 « »    

Testing Environment Information:

  • Windows 10 Enterprise: Version 1909 (OS Build 18396.535) (Type winver or systeminfo at a Command Prompt)
  • Docker Desktop Community: Version (Released 11/18/2019)
  • Testing Date: 12/26/2019


PS C:\WINDOWS\system32> docker pull microsoft/nanoserver
Using default tag: latest

error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/images/create?fromImage=microsoft%2Fnanoserver&tag=latest: 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.


PS C:\WINDOWS\system32> docker pull hello-world
Using default tag: latest

Error response from daemon: open \\.\pipe\docker_engine_windows: The system cannot find the file specified.

In this link suggests to restart the service, in my case the service was not there and the article seems to be outdated.

This is how services should look:

When I got this error, we can see that the “Docker Engine” service is not running or even listed under services.

A reboot of my system got the service to show up. I believe it was not showing up because I had just installed Docker Desktop for Windows and I did not reboot, although the installer did not ask me to reboot.

    Did I save you time and headaches? Buy me a cup of coffee.
    The more coffee I drink the more articles I can write.