Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info

Tags:

System info: Windows 10 pro 64 bit

C:\WINDOWS\system32>docker --version

Docker version 18.06.1-ce, build e68fc7a

C:\WINDOWS\system32>docker info

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

C:\WINDOWS\system32>docker pull hello-world

Using default tag: latest

Warning: failed to get default registry endpoint from daemon (error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/info: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.). Using system default: https://index.docker.io/v1/ error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.38/images/create?fromImage=hello-world&tag=latest: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.

like image 876
Hulk Avatar asked Oct 23 '18 10:10

Hulk


People also ask

How do I fix Docker error during connect?

Solution: Restart Docker service Docker daemon fails to start up on Windows or stops for some reason and especially when you try to run any commands. To fix such types of issues restarting the service will resolve the error. This will open the Services Windows GUI. Please restart the Docker Desktop Service.

How do I know if my Docker daemon is running Windows?

The operating-system independent way to check whether Docker is running is to ask Docker, using the docker info command. You can also use operating system utilities, such as sudo systemctl is-active docker or sudo status docker or sudo service docker status , or checking the service status using Windows utilities.


1 Answers

You can powerShell as admin.

Run this code:

cd "C:\Program Files\Docker\Docker"
./DockerCli.exe -SwitchDaemon

Running Powershell with elevated access solved my issue.

like image 78
Aykut ÇALIŞKAN Avatar answered Sep 19 '22 15:09

Aykut ÇALIŞKAN