1
2
3
4
|
error during connect: Get http: //%2F%2F.%2Fpipe%2Fdocker_engine/v1.26/containers/json: 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. |
解决方法:打开新窗口后执行
1
|
@FOR /f "tokens=*" %i IN ( 'docker-machine env default' ) DO @%i |
default 是docker-machine的name,可以通过docker-machine -ls 查看
总结
以上就是小编分享给大家的Windows使用docker打开新窗口error解决办法,希望对大家有所帮助,感兴趣的朋友可以参阅:详解Docker使用Linux iptables 和 Interfaces管理容器网络 、浅谈Docker安全机制内核安全与容器之间的网络安全 等。希望朋友们对本站多多支持!
原文链接:http://blog.csdn.net/cyuanxin/article/details/66479919