Adds clean docker script
This commit is contained in:
parent
2c5fda2d87
commit
f56bc57c81
1 changed files with 5 additions and 0 deletions
5
utils/clean_docker.sh
Executable file
5
utils/clean_docker.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker rm `docker ps -a -q`
|
||||
docker rmi `docker images -a -q`
|
||||
/opt/bin/docker-volumes rm `/opt/bin/docker-volumes list | grep docker | cut -d"|" -f1`
|
Loading…
Reference in a new issue