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.
This commit is contained in:
parent
fec904fd28
commit
dba05aab07
2 changed files with 4 additions and 2 deletions
|
@ -1,2 +1,3 @@
|
|||
sudo docker stop $CONTAINER_NAME
|
||||
sudo docker rm -f $CONTAINER_NAME
|
||||
sudo docker rm -fv $CONTAINER_NAME
|
||||
sudo docker rmi $CONTAINER_NAME
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue