加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

Windows使用docker打开新窗口error解决办法

发布时间:2020-12-16 03:47:54 所属栏目:安全 来源:网络整理
导读: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 ele
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安全机制内核安全与容器之间的网络安全 等。希望朋友们对本站多多支持!

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读