From f91c15a6ac8e94dae54f4cdaa93defd3f7006226 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 7 Mar 2014 15:51:25 +0100 Subject: update docker to remove itself after completion --- ship/t/docker/docker_remote_punani.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ship') diff --git a/ship/t/docker/docker_remote_punani.sh b/ship/t/docker/docker_remote_punani.sh index 1eab1a42..c006f013 100755 --- a/ship/t/docker/docker_remote_punani.sh +++ b/ship/t/docker/docker_remote_punani.sh @@ -1,5 +1,5 @@ #!/bin/sh cd $(dirname $(readlink -f $0)) -docker_id=$(docker run -d -v $PWD/punani/:/test ubuntu /bin/sh /test/remote_punani) +docker_id=$(docker run -rm=true -d -v $PWD/punani/:/test ubuntu /bin/sh /test/remote_punani) trap "docker rm $docker_id" INT TERM EXIT QUIT docker wait $docker_id -- cgit v1.2.3