Livid
388.71D
527.01D
V2EX  ›  Docker

Docker 在转发端口时的这个错误有哪些解决方法呢?

  •  
  •   Livid ·
    PRO
    · Jun 17, 2018 · 6891 views
    This topic created in 2984 days ago, the information mentioned may be changed or developed.

    系统环境是 Windows 10 Pro,Docker 版本 18.03.1-ce,电脑开机之后第一次运行 docker run 的时候会遇到这个错误:

    C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: driver failed programming external connectivity on endpoint app (36577729ce7d4d2dddefb7fddd32521ea66958cf824138804b02ffb3c98452f3): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:12345:tcp:172.17.0.2:12345: input/output error.

    然后只要重启 Docker 就不会再遇到问题。

    GitHub 上有搜到其他用户也遇到这个问题,也是通过重启 Docker 解决。

    https://github.com/docker/compose/issues/3277

    除了重启之外还有什么其他好的解决方法吗?

    4 replies    2018-06-19 14:09:04 +08:00
    artandlol
        1
    artandlol  
       Jun 18, 2018 via iPhone
    Win 上还执行 mkdir /port/tcp 这样的指令,等 docker 新版本吧
    Jafee
        2
    Jafee  
       Jun 19, 2018
    windows 上使用 docker 很容易报错,所以我一般都选择不在 window 平台使用 docker。
    fiture
        3
    fiture  
       Jun 19, 2018   ❤️ 1
    fiture
        4
    fiture  
       Jun 19, 2018
    @fiture workaround
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5558 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 07:17 · PVG 15:17 · LAX 00:17 · JFK 03:17
    ♥ Do have faith in what you're doing.