summaryrefslogtreecommitdiff
path: root/scripts/docker
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2016-06-06 18:09:39 -0300
committerdrebs <drebs@leap.se>2016-06-06 21:40:43 -0300
commit8823fd51ce24d0afae82541d614eeb1ef8c5c0c3 (patch)
tree31eaff5ba07edfe9067f00915907319269c903e8 /scripts/docker
parent07b9ebf33a6b4499d0ad4845bec1e2836dbbeede (diff)
[test] add makefile option to rm all docker containers
Diffstat (limited to 'scripts/docker')
-rw-r--r--scripts/docker/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/docker/Makefile b/scripts/docker/Makefile
index b9432e8a..5e5b345e 100644
--- a/scripts/docker/Makefile
+++ b/scripts/docker/Makefile
@@ -26,3 +26,6 @@ run-client-test: image
--env="SOLEDAD_SERVER_URL=http://$${server_ip}:2424" \
$(IMAGE_NAME) \
/usr/local/soledad/start-client-test.sh
+
+rm-all-containers:
+ docker ps -a | cut -d" " -f 1 | tail -n +2 | xargs docker rm -f