V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Livid
V2EX  ›  Docker

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

  •  
  •   Livid · 2018-10-10 17:55:29 +08:00 · 4792 次点击
    这是一个创建于 1996 天前的主题,其中的信息可能已经有所发展或是发生改变。

    目前 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.

    有谁解决过这个问题么?

    5 条回复    2018-10-10 19:31:44 +08:00
    Livid
        1
    Livid  
    MOD
    OP
       2018-10-10 18:25:06 +08:00   ❤️ 1
    似乎这次是找到了解决方式,亲测有用:

    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
        2
    kidlj  
       2018-10-10 19:06:03 +08:00 via iPhone
    Docker 4 windows 好慢的,更喜欢用 vagrant + virtualbox 开 docker
    inoki
        3
    inoki  
       2018-10-10 19:08:00 +08:00 via Android
    @kidlj hyper v 上跑的 Linux 搞起的容器,应该不至于吧
    kidlj
        4
    kidlj  
       2018-10-10 19:29:36 +08:00 via iPhone
    @inoki 感觉得到 hyper-v 不如 vb 快
    Zzdex
        5
    Zzdex  
       2018-10-10 19:31:44 +08:00
    1809
    18.06.1-CE
    正常
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1066 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 19:07 · PVG 03:07 · LAX 12:07 · JFK 15:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.