How can I stop my Docker containers when I can't find them in the process list?
Asked by
crop.16x9
Hi everyone! I'm having a bit of trouble with my Ubuntu 24.04 setup where I have an Intel 6800k CPU and an NVIDIA 1050 GPU. I installed Docker along with Portainer and set up Nginx, Frigate, and DuckDNS. However, when I run 'docker ps', I only see Nginx in the list of running containers. Portainer indicates that Nginx is up, but it doesn't show Frigate, even though both are definitely operational. I'm unable to stop the Nginx container because I receive a 'permission denied' error when trying 'sudo docker stop nginx'. I've ensured that my user is part of the Docker group and that the folder permissions for docker.sock are set correctly, but I'm out of ideas. Additionally, I'd love to uninstall Portainer but can't seem to find it in any list or folder. Any suggestions?
Answers
Check how Docker is installed on your machine. If it's installed via Snap, you might want to consider removing it. Snap versions can sometimes create issues, and if you reinstall Docker using the command line, you should be able to retain your existing containers and configurations. It looks like from what you've described, Snap is the culprit here.
Reply to this answer
You might want to run a command like `ps aux | grep -i -E "frigate|portainer|docker"` to see if you can find anything related to Frigate or Portainer. It could help you track down whatโs actually running on your system. Let me know if this helps!
+color theory!: Thanks, I'll give it a shot as soon as I'm at my computer!
BOWLING.alley: Here's a link with some more info on what you're seeing: [https://pastebin.com/ELpmSxPQ](https://pastebin.com/ELpmSxPQ)
Reply to this answer
Add your answer
Answers are reviewed before publication.
crop.16x9: If I switch from the Snap version to the standard one, can I still reuse the same container, folders, and YAML files? I'm just worried about getting my NVIDIA card to work properly again. It appears Snap is indeed what I'm using.
7 minute proof: From the snippet you shared, looks like Docker is running through Snap.