Adds clean docker script

This commit is contained in:
pierreozoux 2015-09-18 12:22:38 +01:00
parent 2c5fda2d87
commit f56bc57c81

5
utils/clean_docker.sh Executable file
View 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`