Merge pull request #1939 from weaveworks/issues/1937-dont-rm
Don't rm old containers, in case we want the log
This commit is contained in:
commit
11ccada740
1 file changed
-1
@@ -948,7 +948,6 @@ check_not_running() {
|
|||||||
|
|
||||||
stop() {
|
stop() {
|
||||||
docker stop $1 >/dev/null 2>&1 || echo "$2 is not running." >&2
|
docker stop $1 >/dev/null 2>&1 || echo "$2 is not running." >&2
|
||||||
docker rm -f $1 >/dev/null 2>&1 || true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Given a container name or short ID in $1, ensure the specified
|
# Given a container name or short ID in $1, ensure the specified
|
||||||
|
|||||||
Reference in new issue
Block a user