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