error during connect: This error may indicate that the docker daemon is not running. docker_engine: The system cannot find the file specified.

beginer
beginer
198 Points
59 Posts

I'm trying to build docker image and even any docker command, getting following error:

error during connect: This error may indicate that the docker daemon is not running.
: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/json
: open //./pipe/docker_engine: The system cannot find the file specified.

 

Views: 90
Total Answered: 2
Total Marked As Answer: 1
Posted On: 01-Feb-2021 02:18

Share:   fb twitter linkedin
Answers
Priya
Priya
Member
108 Points
34 Posts
         

We can do this in order to switch Docker daemon:

  • With Powershell:
    • Open Powershell as administrator
    • Launch command: & 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon
  • OR, with cmd:
    • Open cmd as administrator
    • Launch command: "C:\Program Files\Docker\Docker\DockerCli.exe" -SwitchDaemon
Posted On: 01-Feb-2021 03:02
beginer
beginer
198 Points
59 Posts
         

Thanks. Issue resolved by switching daemon:

Posted On: 01-Feb-2021 03:08
 Log In to Chat