Docker for Windows 似乎在安装完 1809 Update 之后不工作了

2018-10-10 17:55:29 +08:00
 Livid

目前 docker ps 会得到这样的一个错误提示:

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.39/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.

有谁解决过这个问题么?

4817 次点击
所在节点    Docker
5 条回复
Livid
2018-10-10 18:25:06 +08:00
似乎这次是找到了解决方式,亲测有用:

https://social.technet.microsoft.com/Forums/en-US/ee5b1d6b-09e2-49f3-a52c-820aafc316f9/hyperv-doesnt-work-after-upgrade-to-windows-10-1809?forum=win10itprovirt

1. 打开 Windows Security
2. 打开 App & Browser control
3. 打开 Exploit protection settings
4. 切换到 Program settings 标签
5. 找到 vmcompute.exe 然后点击 Edit
6. 把 Code flow guard (CFG) 前面的勾去掉
7. 重启
kidlj
2018-10-10 19:06:03 +08:00
Docker 4 windows 好慢的,更喜欢用 vagrant + virtualbox 开 docker
inoki
2018-10-10 19:08:00 +08:00
@kidlj hyper v 上跑的 Linux 搞起的容器,应该不至于吧
kidlj
2018-10-10 19:29:36 +08:00
@inoki 感觉得到 hyper-v 不如 vb 快
Zzdex
2018-10-10 19:31:44 +08:00
1809
18.06.1-CE
正常

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/496425

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX