I am trying to use docker on my windows, but kept getting the docker: error during connection: This error may indicate that the docker daemon is not working
. I have used all the solutions described on the Internet, but so far I have not been able to solve my problem.
For example, I applied all the answers with good evaluation of this one error during connection: This error may indicate that the docker daemon is not working.
- Some of the things I have done:
- Launch command:
& 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon
- I have already uninstalled and installed docker again, using the installer as administrator.
- I have changed the initialization type of the docker desktop service to as Automatic (Delayed).
PS C:\Users\diego\Stuffs\RiseIT\getting-started> & 'C:\Program Files\Docker\Docker\DockerCli.exe' -SwitchDaemon
PS C:\Users\diego\Stuffs\RiseIT\getting-started> docker run -d -p 80:80 docker/getting-started
docker: error during connect: This error may indicate that the docker daemon is not running.: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/create": open //./pipe/docker_engine: The system cannot find the file specified.
See 'docker run --help'.