Replies: 3 comments 4 replies
-
After losing a years worth of data after an update and getting no help from here I feel you. :) You will have to remove the images, containers, and volumes. The easiest way is from the command line. I started with removing the images using Docker desktop then moved to the command line. Tyoe docker image ls to list all of the images then type docker image rm <and the ID of each image. that will remove them. That should remove everything for you. Paul |
Beta Was this translation helpful? Give feedback.
-
These would remove all the images, volumes, containers etc. So if you have other docker containers that you want to keep you will NOT want to run this. #Stop the containers: |
Beta Was this translation helpful? Give feedback.
-
Thank youJohnOn Jan 23, 2023, at 6:13 AM, Ken ***@***.***> wrote:
These would remove all the images, volumes, containers etc. So if you have other docker containers that you want to keep you will NOT want to run this.
#Stop the containers:
sudo docker-compose down
#Delete all volumes:
docker volume rm $(docker volume ls -q)
#Delete all containers:
docker rm -f $(docker ps -a -q)
#Clean up any dangling branches
docker system prune
#Remove all images from the local cache
docker rmi $(docker images -a -q)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Does anyone have instructions on how to cleanly 'uninstall' Teslamate from a Docker setup?
I have decided not to use TeslaMate anymore and would like to remove all containers and would like to be sure I am tidying up all orphaned data from my server. I cannot see any removal instructions on the docs site.
Is it enough to just 'remove' the containers in Portainer or will I have orphaned volumes that will need manually removing? For info, I followed the official docker-compose install route: (https://docs.teslamate.org/docs/installation/docker/).
Beta Was this translation helpful? Give feedback.
All reactions