Answers for "error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: P"

1

docker: error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Post "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/containers/create": open //./pipe/docker_engine:

cd "C:Program FilesDockerDocker"
./DockerCli.exe -SwitchDaemon

// in Powershell elevated access solved my issue
Posted by: Guest on May-20-2021
0

docker: error during connect: In the default daemon configuration on Windows

C:Projects> docker version
Client:
 Version:      1.13.0-dev
 API version:  1.25
 Go version:   go1.7.3
 Git commit:   d8d3314
 Built:        Tue Nov  1 03:05:34 2016
 OS/Arch:      windows/amd64
error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.25/version: 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.



||||||||||||| FIX  |||||||||||||
The error is related to that part:

In the default daemon configuration on Windows, the docker client must be run elevated to connect

You can do this in order to switch Docker daemon, as elevated user:

With Powershell:

Open Powershell as administrator
Launch command: & 'C:Program FilesDockerDockerDockerCli.exe' -SwitchDaemon
OR, with cmd:

Open cmd as administrator
Launch command: "C:Program FilesDockerDockerDockerCli.exe" -SwitchDaemon
Posted by: Guest on May-22-2021

Code answers related to "error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: P"

Browse Popular Code Answers by Language