Remove Container

Questions about Portainer.
Post Reply
brandnewuser
Posts: 3
Joined: Sat Mar 22, 2025 8:22 pm
United States of America

Remove Container

Post by brandnewuser »

Hello I'm not sure were to post this but how do i remove containers completely? I followed this guide for adding jellyseerr (https://yams.media/advanced/add-your-own-containers/). I remove it from the docker-compose.custom.yaml and run "yams restart". I've also deleted the folders from /opt/yams/config. But whenever i re add the container and restart compose.When the container comes back online it still has the data from the previous install/container. Meaning my username and connection to jellyfin are still there. Any ideas?

User avatar
rogs
Site Admin
Posts: 280
Joined: Mon Oct 23, 2023 12:53 pm
Location: Montevideo, Uruguay
Gender:
Contact:
Uruguay

Re: Remove Container

Post by rogs »

Hey @brandnewuser!

It would be nice to see how you added the container. It looks like you never stopped it, so it is still running. To remove a container:

  • yams stop
  • rm -rf /your/install/directory/config/your-container
  • Delete the container using docker rm [CONTAINER_ID]. To find the ID of the container you want to delete, you can run docker ps -a.
  • yams start

Cheers!

Roger.

YAMS Creator

E: roger (at) rogs.me. Fuck you, email bots.
W: https://rogs.me
gpg: curl -sL https://rogs.me/rogs.txt | gpg --import
fingerprint: ADDF BCB7 8B86 8D93 FC4E 3224 C7EC E9C6 C36E C2E6


Also, I love cats :mrgreen:

Pirate jet, pirate jet
Post Reply