1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #8121 from bbinet/cleanup-hello-world-container

Automatically clean up hello-world container with --rm
This commit is contained in:
Tibor Vass 2014-09-22 10:52:50 -04:00
commit 3c03506cc2

View file

@ -85,7 +85,7 @@ case "$lsb_dist" in
if command_exists docker && [ -e /var/run/docker.sock ]; then if command_exists docker && [ -e /var/run/docker.sock ]; then
( (
set -x set -x
$sh_c 'docker run hello-world' $sh_c 'docker run --rm hello-world'
) || true ) || true
fi fi
your_user=your-user your_user=your-user
@ -162,7 +162,7 @@ case "$lsb_dist" in
if command_exists docker && [ -e /var/run/docker.sock ]; then if command_exists docker && [ -e /var/run/docker.sock ]; then
( (
set -x set -x
$sh_c 'docker run hello-world' $sh_c 'docker run --rm hello-world'
) || true ) || true
fi fi
your_user=your-user your_user=your-user