Automatically clean up hello-world container with --rm

Signed-off-by: Bruno Binet <bruno.binet@gmail.com>
This commit is contained in:
Bruno Binet 2014-09-19 12:18:21 +02:00
parent 39ed048aab
commit d78936b418

View file

@ -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