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

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


Restarting Docker Desktop for Windows helped me. You can do that by right-click on tray icon and selecting restart.


The same problem with Me. I am writing this command in PowerShell Run As Administrator. Switch Docker from Windows to Linux write the command like this

cd "C:\Program Files\Docker\Docker"

./DockerCli.exe -SwitchLinuxEngine

This is the Simple way to solve this.


In my case, the reason for the error was even easier than the main answer ("close and open it again") suggests. Docker Desktop was just not running anymore!

When I hovered over the tray icon, it vanished.


Further details:

Docker Desktop had crashed, or it was closed because of a forced update. I had this problem after updating Java runtime environment.

When I opened Docker Desktop then, an update ran, and I could not even choose between yes or no, running for at least 5 minutes with the tray icon only showing "Docker Desktop is starting". The menu had crashed as well.