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
• 9,050 points
61 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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,280 points

Related Questions In Docker

0 votes
1 answer

Error: Docker for Windows not working

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

answered Aug 13, 2018 in Docker by Sophie may
• 9,050 points
35 views
0 votes
1 answer

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

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

answered Aug 13, 2018 in Docker by Sophie may
• 9,050 points
38 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,280 points
14 views
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,120 points
56 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.