How can I stop my Docker containers when I can’t find them in the process list?

0
8
Asked By TechWhiz23 On

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?

2 Answers

Answered By CodeCrafter88 On

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!

GadgetGuru76 -

Thanks, I'll give it a shot as soon as I'm at my computer!

DataDiver45 -

Here's a link with some more info on what you're seeing: [https://pastebin.com/ELpmSxPQ](https://pastebin.com/ELpmSxPQ)

Answered By SystemSleuth On

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.

TechWhiz23 -

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.

TechieTom -

From the snippet you shared, looks like Docker is running through Snap.

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.