运行 wolkenkit 在 Windows 10 上启动时如何解决此 docker 错误

How to resolve this docker error when running wolkenkit start on Windows 10

当我在 Windows 机器上 运行 wolkenkit start 时,命令失败,我得到以下输出:

Starting the application...
  Validating the application code...
  Verifying health on environment default...
  Verifying application status...
  Verifying that ports are available...
  Setting up network...
  Building Docker images...
  Starting Docker containers...
✗ Failed to start the application.
  docker: Error response from daemon: driver failed programming external connectivity on endpoint boards-postgres (7cf3e33d876e8d22fced3926fdc9ddf2372b499803dc92a4b7bb403fd2552064): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:3030:tcp:172.21.0.4:5432: input/output error.

  ExecutableFailed: docker: Error response from daemon: driver failed programming external connectivity on endpoint boards-postgres (7cf3e33d876e8d22fced3926fdc9ddf2372b499803dc92a4b7bb403fd2552064): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:3030:tcp:172.21.0.4:5432: input/output error.

    at childProcess.exec (C:\Users\wagle\Dev\tnw\wolkenkit\src\shell\exec.js:21:20)
    at ChildProcess.exithandler (child_process.js:301:5)
    at ChildProcess.emit (events.js:189:13)
    at maybeClose (internal/child_process.js:970:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)

我 运行正在 Windows 10 使用 Docker Desktop for Windows 2.0.0.3。这个问题可能起源于哪里?

实际上,我们(在原生网络上,wolkenkit 背后的公司)运行 也遇到了这个问题。

这实际上是 Windows 10 的最新更新之一引起的问题。此更新引入了一项名为 "Fast startup" 的新功能,这会导致 Docker.[=12= 出现问题]

查看此问题了解更多详情:https://github.com/docker/compose/issues/3277

作为快速修复,您可以重新启动 Docker。作为更长期的解决方案,您可以禁用 "Fast Startup" 功能,请参阅 https://github.com/docker/for-win/issues/953#issuecomment-342498223

希望对您有所帮助

PS:请注意,我是 wolkenkit 的核心开发人员之一。