for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Cannot start container after Docker for Windows first launch

Open sudoloic opened this issue 8 years ago • 6 comments

Expected behavior

Container should start with command docker start -i [container_name]

Actual behavior

Error when starting container with command docker start -i [container_name]: Error response from daemon: driver failed programming external connectivity on endpoint [container_name](b67716c6c255663face61398ac447d72fe133ebb6402b5fd6a019a2d8fd6ae5c): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:8080:tcp:172.17.0.2:8080: input/output error

Docker for Windows needs to be relaunched to be able to start a container

Information

  • Diagnostic ID : 6CCDFB9C-855C-43BC-BDDC-CF2E9BCB90C2/2018-02-26_13-18-16
  • Always reproductible

Steps to reproduce the behavior

  1. Reboot computer
  2. Launch Docker for Windows
  3. Wait until Docker is started
  4. Run command docker start -i [container_name]
  5. Error : Error response from daemon: driver failed programming external connectivity on endpoint [container_name](b67716c6c255663face61398ac447d72fe133ebb6402b5fd6a019a2d8fd6ae5c): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:8080:tcp:172.17.0.2:8080: input/output error

Workaround

  1. Stop Docker for Windows
  2. Re-launch Docker for Windows
  3. Wait until Docker is started
  4. Run command docker start -i [container_name]
  5. Container started

sudoloic avatar Feb 26 '18 12:02 sudoloic

Well... duplicate of https://github.com/docker/for-win/issues/1038

sudoloic avatar Feb 26 '18 12:02 sudoloic

I solved this problem with restart my docker. I think this problem occured because we need to stop and exit docker before we shutdown our pc.

firdanirp avatar Jul 11 '18 12:07 firdanirp

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Oct 09 '18 02:10 docker-robott

/remove-lifecycle stale

This is still happening

Its always the first time. After i restart docker it works

OS Name Microsoft Windows 10 Pro Version 10.0.17134 Build 17134 Docker Version 2.0.0.0-beta1-win75 (19925) Channel: edge 915f68b

Root Cause: https://github.com/docker/for-win/issues/1967 Related: https://github.com/docker/for-win/issues/1038 Related: https://github.com/docker/for-win/issues/2722 Related: https://github.com/docker/for-win/issues/573

jasonwilliams avatar Oct 09 '18 19:10 jasonwilliams

Issues go stale after 90d of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Jan 14 '19 12:01 docker-robott

Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle locked

docker-robott avatar Jun 26 '20 03:06 docker-robott