
Improved docker cleanup. Removing anonymous volumes associated with containers. Specifying the full name of the amn0 network interface to remove when cleaning the server.
3 lines
100 B
Bash
3 lines
100 B
Bash
sudo docker stop $CONTAINER_NAME
|
|
sudo docker rm -fv $CONTAINER_NAME
|
|
sudo docker rmi $CONTAINER_NAME
|