简体   繁体   English

ddev/docker 因“外部连接编程失败”而失败,Windows 10

[英]ddev/docker fails with “Failed programming external connectivity”, Windows 10

ddev gets this nasty error in ddev start (Windows 10, Docker for Windows 18.03) ddev 在ddev start遇到这个令人讨厌的错误(Windows 10,Docker for Windows 18.03)

ERROR: for ddev-xxx-db Cannot start service db: driver failed programming external connectivity on endpoint ddev-sanjacinto-db (313d966276870feb88b89ec7ab8f34ec9c876cfe165ff45185fa725fdbbd7f70): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:32777:tcp:172.18.0.2:3306: input/output error错误:对于 ddev-xxx-db 无法启动服务 db:驱动程序在端点 ddev-sanjacinto-db 上编程外部连接失败(313d966276870feb88b89ec7ab8f34ec9c876cfe165ff45185fa725fdbbd7f70):错误启动/7000000000000000000:0000000000000000000000000000000000:000 0.2:3306:输入/输出错误

Encountered errors while bringing up the project.启动项目时遇到错误。

I've seen this many times, only on Windows, and have always been able fix it with:我已经多次看到这个,只在 Windows 上,并且总是能够修复它:

  • ddev poweroff
  • Restarting docker if necessary必要时重新启动 docker

There are lots of answers on the internet, I think the most important open issue is with docker-compose here: https://github.com/docker/compose/issues/3277网上有很多答案,我认为最重要的开放问题是这里的 docker-compose: https : //github.com/docker/compose/issues/3277

docker description码头工人描述

On Windows systems, CTRL+C does not stop the container.在 Windows 系统上,CTRL+C 不会停止容器。 So, first type CTRL+C to get the prompt back (or open another shell), then type docker container ls to list the running containers, followed by docker container stop to stop the container.因此,首先键入 CTRL+C 以返回提示(或打开另一个 shell),然后键入 docker container ls 以列出正在运行的容器,然后键入 docker container stop 以停止容器。 Otherwise, you get an error response from the daemon when you try to re-run the container in the next step.否则,当您尝试在下一步中重新运行容器时,您会收到来自守护程序的错误响应。

I had the same problem, I thought with CTRL+C stoped the container but it was not the case, any af the answer above works because they all stop containers, restarting docker or stoping container explicity.我遇到了同样的问题,我认为 CTRL+C 停止了容器,但事实并非如此,上面的任何答案都有效,因为它们都停止了容器,重新启动了 docker 或显式停止了容器。

I prefer:我更喜欢:

docker container ls #list containers running
docker stop [container id] #replace [container id] with the container id running

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Windows 10 上的 Docker“驱动程序在端点上编程外部连接失败” - Docker on Windows 10 “driver failed programming external connectivity on endpoint” docker-compose 错误无法启动服务 mongo:驱动程序在端点上编程外部连接失败 - docker-compose Error Cannot start service mongo: driver failed programming external connectivity on endpoint Docker在外部驱动器Windows 10上撰写卷 - Docker compose volume on external drive windows 10 Docker 在 Windows 容器模式下的 Windows 10 上拉失败 - Docker pull fails on Windows 10 in Windows Container mode 如何使用nginx-fpm在Windows 10上使用DDEV创建虚拟主机? - how to create a virtualhost with DDEV on windows 10 with nginx-fpm? Windows 10 - 编程Cortana - Windows 10 - programming Cortana Docker 快速入门终端无法在 Windows 10 中启动 VirtualBox VM - Docker Quickstart Terminal fails to start VirtualBox VM in Windows 10 无法在 Windows 10 中执行脚本 docker-compose YML 文件 - Failed to execute script docker-compose YML file in Windows 10 docker 无法注册层 Windows 10 版本 1709(内部版本 16299.1087) - docker failed to register layer windows 10 version 1709 (build 16299.1087) Docker 桌面安装失败:在 Windows 10 上未满足一个先决条件 - Docker Desktop Installation failed: one prerequisite is not fulfilled on Windows 10
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM