Hello everyone,
I have containers that I want to get rid of because I can’t make them work, but I can’t seem to get rid of them. I’m using Portainer usually and the remove command on the container works, but they shortly reappear as newly created containers.
I moved to the terminal to try and sudo it out of existence manually, docker ps, the containers are here. So I sudo docker stop , the terminal confirms. Then sudo rm -f , confirmed again.
Docker ps shows they are gone, but a minute later another docker ps shows they are back up again.
I’ve looked it up online and people mentioned it might be running as a service. The command “docker service ls” returns an empty list.
How can I nuke those containers?
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Are they part of a stack or docker-compose?