From 8823fd51ce24d0afae82541d614eeb1ef8c5c0c3 Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 6 Jun 2016 18:09:39 -0300 Subject: [test] add makefile option to rm all docker containers --- scripts/docker/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/docker') 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 -- cgit v1.2.3