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 29, 2018 in DevOps & Agile by Sophie may
• 10,620 points
2,875 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 29, 2018 by Tyrion anex
• 8,700 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
• 10,620 points
1,645 views
0 votes
1 answer
+2 votes
1 answer
+2 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
• 58,100 points
2,655 views
0 votes
1 answer

Docker for Windows error: “kubectl context missing”

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

answered Aug 28, 2018 in DevOps & Agile by Tyrion anex
• 8,700 points
812 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 20, 2018 in DevOps & Agile by Tyrion anex
• 8,700 points
901 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP