我是靠谱客的博主 故意小丸子,这篇文章主要介绍Windows使用docker打开新窗口error解决办法,现在分享给大家,希望可以做个参考。

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.

解决方法:打开新窗口后执行

@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安全机制内核安全与容器之间的网络安全 等。希望朋友们对本站多多支持!

最后

以上就是故意小丸子最近收集整理的关于Windows使用docker打开新窗口error解决办法的全部内容,更多相关Windows使用docker打开新窗口error解决办法内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(260)

评论列表共有 0 条评论

立即
投稿
返回
顶部