Can't ping from within a Docker Container

June 6, 2018 138 views
Docker Ubuntu 16.04
Rockbert
By:
Rockbert

We have docker running at digitalocean. It seams that from within my docker containers, I cannot reach the internet anymore. When I go into the containers and run "ping 8.8.8.8" to ping a Google DNS server, it does not work.

This used to work when we first set the Docker Containers up.

Is there any changes done to the networking parts at DigitalOcean? Is there any DigitalOcean firewalls settings we must have in place?

Ping from the droplet server works fine btw. Its inside of the Docker Containers that it doesn't work.

I need to renew a Letsencrypt SSL cert, for instance, and this does not work because the Docker Container does not have internet connection, it seems.

Please help

Be the first one to answer this question.