Kill zombies
This commit is contained in:
1 parent
0a4b3a04ba
commit
38013d2f41
1 file changed
+1
@@ -1025,6 +1025,7 @@ wait_for_status() {
|
|||||||
while true ; do
|
while true ; do
|
||||||
"$@" GET /status >/dev/null 2>&1 && return 0
|
"$@" GET /status >/dev/null 2>&1 && return 0
|
||||||
if ! check_running $container >/dev/null 2>&1 ; then
|
if ! check_running $container >/dev/null 2>&1 ; then
|
||||||
|
docker kill $container >/dev/null 2>&1 || true # stop it restarting
|
||||||
echo $(death_msg $container) >&2
|
echo $(death_msg $container) >&2
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user