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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
I’ve had a similar issue recently and I was able to get this working by simply restarting docker:
systemctl restart docker
Then this started working as normal.
Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.