Docker on Windows 10 "driver failed programming external connectivity on endpoint"

Sockness_Rogers picture Sockness_Rogers · Jun 7, 2017 · Viewed 61k times · Source

I am trying to use $ docker-compose up -d for a project and am getting this error message:

ERROR: for api Cannot start service api: driver failed programming external connectivity on endpoint dataexploration_api_1 (8781c95937a0a4b0b8da233376f71d2fc135f46aad011401c019eb3d14a0b117): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:9000:tcp:172.19.0.2:80: input/output error Encountered errors while bringing up the project.

I am wondering if it is maybe the port? I had been trying port 8080 previously. The project was originally set up on a mac and I have cloned the repository from gitHub.

Answer

Jens Christian Eldøy picture Jens Christian Eldøy · Aug 23, 2017

I got the same error message on my Windows 10 Pro / Docker v17.06.1-ce-win24 / Docker-Compose v1.14.0 using Windows Powershell x86 in admin mode.

The solution was to simply restart Docker.