docker

error during connect: This error may indicate that the docker daemon is not running


I am new to Docker and after writing docker version in cmd I got this error, 35026667 error during connect: This error may indicate that the docker daemon is not running.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version": open //./pipe/docker_engine: The system cannot find the file specified.


Solution

  • The following steps solved this problem:

    1. Open cmd as administrator
    2. Launch command: "C:\Program Files\Docker\Docker\DockerCli.exe" -SwitchDaemon