windows下docker报错的解决方法:This error may also indicate that the docker daemon is not running....

问题error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.35/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.的解决方法

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

执行以上操作后,问题解决了

如果没有解决可以参考下面的内容

https://github.com/docker/for-win/issues/1825

 

转载于:https://my.oschina.net/sucre/blog/3012269