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

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

Open tzieleniewski opened this issue 7 years ago • 134 comments

  • [x] I have tried with the latest version of my channel (Stable or Edge)
  • [x] I have uploaded Diagnostics
  • Diagnostics ID: E0E3D8BA-E84E-46E9-A2A4-FA95AD6E1882/20190812095827

Expected behavior

Actual behavior

After an upgrade to latest version, when starting up containers with docker compose, Docker becomes unavailable. Containers are operational for some time and then they all 'die'. The CLI interaction result in:

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

Information

  • Windows Version: image
  • Docker Desktop Version:
Client: Docker Engine - Community
 Version:           19.03.1
 API version:       1.40
 Go version:        go1.12.5
 Git commit:        74b1e89
 Built:             Thu Jul 25 21:17:08 2019
 OS/Arch:           windows/amd64
 Experimental:      false
Error response from daemon: open \\.\pipe\docker_engine_linux: The system cannot find the file specified.

Steps to reproduce the behavior

  1. ...
  2. ...

tzieleniewski avatar Aug 12 '19 10:08 tzieleniewski

BTW this suggestion didn't help: https://github.com/docker/for-win/issues/1825

tzieleniewski avatar Aug 12 '19 10:08 tzieleniewski

happening to me too

autocorrectoff avatar Aug 24 '19 14:08 autocorrectoff

happening to me too

schaveyt avatar Aug 26 '19 14:08 schaveyt

docker restart worked for me

autocorrectoff avatar Aug 26 '19 16:08 autocorrectoff

same here

rgunczer avatar Sep 10 '19 13:09 rgunczer

I can confirm this error is still showing up. Windows 10 pro 1903 Docker version 2.1.0.4 (39773) stable It happened to me after logging out and logging in after installation. A simple reboot fixed this for me.

r8420 avatar Oct 22 '19 14:10 r8420

Through my task manager, I shut down the docker desktop app, the docker service, and deleted my DockerDesktopVM. When I restarted everything worked fine.

varnem2 avatar Nov 15 '19 00:11 varnem2

happening to me too

nikolicsmilan avatar Dec 31 '19 19:12 nikolicsmilan

Still facing this issue when switching to Linux containers. solution provided in here moved the Linux containers to windows containers hence it started working.
error: Error response from daemon: open \\.\pipe\docker_engine_linux: The system cannot find the file specified.

prayagsingh avatar Jan 15 '20 11:01 prayagsingh

i switch to and from linux and windows container 2 times and it gets resolved

weiwei2 avatar Jan 22 '20 15:01 weiwei2

I meet the same problem.I restarted the docker and switch the windows container to lunix container and everything is fine.

Fiyy avatar Jan 27 '20 10:01 Fiyy

Docker restart worked for me too. Thanks

rajatg64 avatar Jan 29 '20 04:01 rajatg64

Still same problem to me. V2.2.0.0, Windows 10.0.16299 Enterprise

xy-lin avatar Jan 31 '20 13:01 xy-lin

I solved it this way...

PowerShell

Net stop com.docker.service
Net start com.docker.service

source: https://success.docker.com/article/docker-for-windows-fails-with-a-daemon-not-running-message

Renoxar avatar Feb 04 '20 14:02 Renoxar

I fixed this problem when re-install Docker.

Need to check third checkbox that will use Windows not Linux.

After that error disappeared for me, but got new one about bridge in v1 plugin when tried to network create jenkins again

But that can be fixed with: docker network create --driver nat network-name

MarisLeimanis avatar Feb 11 '20 14:02 MarisLeimanis

A reboot did the trick for me.

oliver-dungey avatar Feb 18 '20 15:02 oliver-dungey

I have the same problem. A reboot just fixes the problem temporarily and after about 10 minutes the problem comes back.

Bergiu avatar Feb 28 '20 12:02 Bergiu

Maybe it's worth to notice that i only have the problem in powershell or other applications but not docker desktop. docker desktop shows that the docker daemon is still running

Bergiu avatar Feb 28 '20 13:02 Bergiu

Open CMD with admin permission can fix this

oo2316oo avatar Mar 04 '20 13:03 oo2316oo

docker stalled trying to start containers, tried restart -no effect, tried reboot - now just get this error. :( windows 10 pro, docker 2.2.0.4 (43472)

#edit - its been a while and I did resolve this locally but I cant recall exactly what i did. but it was something to do with the logs

jeacott1 avatar Mar 24 '20 01:03 jeacott1