Docker for windows error: while exposing Ports

0 votes

I run docker run -d -p 80:80 --name webserver nginx and get the following error:

C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: driver failed programming external connectivity on endpoint webserver (f9946544e4c6ad2dd9cb8cbccd251e4d48254e86562bd8e6da75c3bd42c7e45a): Error starting userland proxy: mkdir /port/tcp:0.0.0.0:80:tcp:172.17.0.2:80: input/output error.

If I don't try to assign a port the container will run, but then I don't know how to access it.

Can anyone help me out with this error?

Aug 28, 2018 in DevOps & Agile by Sophie may
• 9,850 points
852 views

1 answer to this question.

0 votes
I faced a similar issue, just follow the below steps:

1) Stop all the running containers docker stop

2) Stop the Docker on your machine & restart it.

Then run the required command. This will solve the issue
answered Aug 28, 2018 by Tyrion anex
• 8,270 points

Related Questions In DevOps & Agile

0 votes
1 answer

Error: Unable to access elasticsearch in docker for windows

This is simple, just follow the below ...READ MORE

answered Sep 3, 2018 in DevOps & Agile by Sophie may
• 9,850 points
58 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,900 points
192 views
0 votes
1 answer

Docker for Windows error: “kubectl context missing”

There is an issue with docker for ...READ MORE

answered Aug 27, 2018 in DevOps & Agile by Tyrion anex
• 8,270 points
36 views
0 votes
1 answer

Docker for windows error: Database lost on docker restart

If you are using docker-compose down/up, keep in ...READ MORE

answered Sep 19, 2018 in DevOps & Agile by Tyrion anex
• 8,270 points
33 views