From d78936b41842ce725f293f6bba1e3604c91682a3 Mon Sep 17 00:00:00 2001 From: Bruno Binet Date: Fri, 19 Sep 2014 12:18:21 +0200 Subject: [PATCH] Automatically clean up hello-world container with --rm Signed-off-by: Bruno Binet --- hack/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/install.sh b/hack/install.sh index 1bcaf43902..53588e8dfa 100755 --- a/hack/install.sh +++ b/hack/install.sh @@ -85,7 +85,7 @@ case "$lsb_dist" in if command_exists docker && [ -e /var/run/docker.sock ]; then ( set -x - $sh_c 'docker run hello-world' + $sh_c 'docker run --rm hello-world' ) || true fi your_user=your-user @@ -162,7 +162,7 @@ case "$lsb_dist" in if command_exists docker && [ -e /var/run/docker.sock ]; then ( set -x - $sh_c 'docker run hello-world' + $sh_c 'docker run --rm hello-world' ) || true fi your_user=your-user