amnezia-client/client/server_scripts/remove_container.sh
lunardunno dba05aab07
Improved docker cleanup. (#568)
Improved docker cleanup.
Removing anonymous volumes associated with containers. 
Specifying the full name of the amn0 network interface to remove when cleaning the server.
2024-02-09 13:00:44 +00:00

3 lines
100 B
Bash

sudo docker stop $CONTAINER_NAME
sudo docker rm -fv $CONTAINER_NAME
sudo docker rmi $CONTAINER_NAME