Kill zombies

This commit is contained in:
Bryan Boreham committed 2016-02-04 12:52:16 +00:00
1 parent 0a4b3a04ba
commit 38013d2f41
1 file changed
+1
+1
View File
@@ -1025,6 +1025,7 @@ wait_for_status() {
while true ; do
"$@" GET /status >/dev/null 2>&1 && return 0
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
return 1
fi