Docker for windows Error Cannot ping google com from windows containers

0 votes

I created a container using microsoft/windowsservercore image. But when I tried to ping google.com from inside the container, I got this error:

Ping request could not find host www.google.com. Please check the name and try again.
Oct 16, 2018 in Docker by Sophie may
• 10,620 points
1,732 views

1 answer to this question.

0 votes

Docker for windows and linux have different default network settings. Typically, the default for linux is bridged mode while in windows you have NAT.

You can alter your configuration with Network Connection Settings for windows

In general I usually use ping 8 8 8 8 since Google cannot be pinged even from my standard windows machine.

answered Oct 16, 2018 by Tyrion anex
• 8,700 points

Related Questions In Docker

0 votes
2 answers
0 votes
1 answer

Error: Docker for Windows not working

The following worked for me: Download VirtualBox 5.03  Reboot ...READ MORE

answered Aug 14, 2018 in Docker by Sophie may
• 10,620 points
1,344 views
0 votes
1 answer

Error: “Docker for Windows: No hypervisor is present”

I faced the same error and this ...READ MORE

answered Aug 14, 2018 in Docker by Sophie may
• 10,620 points
1,230 views
0 votes
1 answer

Error: Docker for windows failing to start

I got the same error, just follow ...READ MORE

answered Sep 4, 2018 in Docker by Tyrion anex
• 8,700 points
768 views
+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,020 points
2,714 views
0 votes
1 answer
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