Docker Containers Not Connecting to the Internet After Ubuntu Update

0
11
Asked By TechieFox123 On

Hey everyone! I've been having trouble since updating my Ubuntu 24 system. I have Docker 29.1.1 and Docker Compose 2.4.1 installed, and while my Docker containers can still communicate with one another, they're unable to access the internet. This started happening after I installed a security update for Ubuntu. I'm looking for some guidance on how to fix this issue and get my containers back online.

4 Answers

Answered By FixItPro On

To downgrade Docker, you can use the command `sudo apt install docker=[specific_version]`, just make sure to add `--allow-downgrade` flag. But many users found that simply running `docker compose down` and then `docker compose up -d` fixed the connectivity issue too.

Answered By DockerDude99 On

You’re not alone! A few people mentioned having similar issues after the recent Debian updates. I had my Docker containers down, ran `docker compose down`, and then used `docker compose up` to start them up again, and that resolved it for me.

Answered By User1234 On

I ran into a similar problem with my Immich and Plex containers not being accessible through my reverse proxy after updating Docker to version 29.1.0. In the end, I decided to roll back to version 29.0.1 and marked the Docker packages to hold, so I can control future updates manually.

CuriousCoder22 -

How do I downgrade? Is there a specific command or a git repository somewhere?

Answered By CloudySkies84 On

Sounds like a Docker issue. If you've updated to the latest version, try bringing your stacks down one at a time and then back up. Restarting the containers or the whole Docker service didn't work for me previously, but doing a full down and then an up with Docker Compose did the trick. Good luck!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.