Containers Not Appearing in Terminal or Portainer After Update
Asked by
DUSK
I've encountered a new issue after updating my computer. I had removed all Docker instances and reinstalled docker-ce on my Ubuntu 25.10 setup. Following that, I installed Portainer, Kavita, and Audiobookshelf, and started experimenting with Traefik. Recently, I ran some updates, and now it seems like the containers and Docker are disconnected. I'm unable to see any containers when I run `docker ps -a` or check in Portainer. I even tried uninstalling Docker completely, but the containers restarted after reinstalling. I'm unsure whether I need to perform a fresh OS install or if there's a better solution out there. Any help would be appreciated! Feel free to ask if you need more details.
Answers
You could be looking at a different data root. Docker usually uses `/var/lib/docker`. Running `docker info` will show you the current data root being used, so check that out!
Reply to this answer
If your updates included a new version of Docker, it could've stopped all your running containers. Try navigating to the directory containing your `docker-compose.yml` file and run `docker compose up -d`. That could bring everything back up!
Reply to this answer
Have you tried running `sudo docker ps -a`? That might show you the containers youโre looking for!
Reply to this answer
Did you install Docker via Snap? If so, consider purging that version and Snapd completely. It can sometimes cause conflicts.
DUSK: No, I installed it using APT instead.
Reply to this answer
Add your answer
Answers are reviewed before publication.
DUSK: I checked, but it just shows `CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES` with nothing listed.