error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect code example
Example 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 Files\Docker\Docker"
./DockerCli.exe -SwitchDaemon
// in Powershell elevated access solved my issue
Example 2: In the default daemon configuration on Windows , the docker client must be run elevated to connect.
docker-machine env --shell cmd default
Example 3: 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.