Search code examples
windowsdockerddev

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)

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

Encountered errors while bringing up the project.


Solution

  • I've seen this many times, only on Windows, and have always been able fix it with:

    • ddev poweroff
    • Restarting docker if necessary

    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