Hello! I’m running Ubuntu 24.04. I’m running docker through apt and verified that I do not have snap version installed as well.
I was trying to start up a plex container, but I kept having issues getting going so I decided to try a different method, but the other method isn’t working either. I suspect the plex container is still running, but when I run docker ps -a, I only show ‘hello-world’ running. I have homepage and immich containers running currently and I can access them through their web APIs.
I know I at least have one “ghost” container running, because I have a jellyfin directory that comes back after I delete it. So I’ve been trying to find that and that plex containers… but I’m not showing anything running…
If I go to /var/lib/docker/containers I can see 8 containers running… But if I run sudo docker stop {container id}I can’t get any of the containers to stop…
Since there are multiple repos installing a kind of Docker, it is usually best linking the followed guide.
Since you are using Docker CE, not Docker Desktop, all processes are running on the host and you can use
ps aux
to list all processes and seach for any docker or containerd related process. On debian based systems, you should also be able to use this command:
ps auxf
so the processes are listed as a tree and you cans ee what started the process. If you have another instance of containerd or Docker, it can help to find it.
Containerd also have a client called ctr. So if for any reason there are multiple namespaces, containers in other namespaces could be hidden for Docker. Docker containers are normally in the moby namespace.
sudo ctr ns ls
output:
NAME LABELS
moby
Checking the output of
docker context ls
can also be useful in case anything created a new context. For example if you once had rootful Docker and it was changed to rootless, your containers will still run, but you won’t see until changing context.