Viir / Kalmit

Moved to https://github.com/elm-fullstack/elm-fullstack
MIT License
2 stars 0 forks source link

docker run fails - "Error starting userland proxy: mkdir /port/tcp:0.0.0.0:443:tcp:172.17.0.2:443: input/output error." #13

Closed Viir closed 5 years ago

Viir commented 5 years ago

Using docker as described in the guide:

docker run --rm -p 80:80 -p 443:443 --name drtsgame-test-container --env "APPSETTING_adminRootPassword=notempty" drtsgame-test

docker run fails on Windows 10:

Error response from daemon: driver failed programming external connectivity on endpoint drtsgame-test-container (7597b6ceadc7356f20b918b1c46c648f1cabf99df3f82ef79093cf337d5ac9cb): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:443:tcp:172.17.0.2:443: input/output error.

docker version:

Client: Docker Engine - Community
 Version:           18.09.2
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        6247962
 Built:             Sun Feb 10 04:12:31 2019
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          18.09.2
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.6
  Git commit:       6247962
  Built:            Sun Feb 10 04:13:06 2019
  OS/Arch:          linux/amd64
  Experimental:     false

Output from docker ps shows only an empty table:

CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

Note about Docker version: As reported earlier, the docker installer keeps hanging, see https://github.com/docker/for-win/issues/1172#issuecomment-516861001

These threads seem related:

Viir commented 5 years ago

Trying to restart docker: image After this restart, docker run worked, so this resolved the problem.