From c972026385ba2d98df4548f24608b0ca62631505 Mon Sep 17 00:00:00 2001 From: "R. Richard" Date: Fri, 23 Aug 2019 15:33:50 +0200 Subject: [PATCH] Append --init flag to Docker run in order to get zombie processes reaped --- hack/libhack/challenge.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/libhack/challenge.sh b/hack/libhack/challenge.sh index 4d4cd95..0c93027 100644 --- a/hack/libhack/challenge.sh +++ b/hack/libhack/challenge.sh @@ -44,7 +44,8 @@ challenge::run() { mount_volumes="${mount_baseimage:-} ${mount_challenge}" fi popd - docker run --rm \ + docker run --init \ + --rm \ -p ${CHALLENGE_PORT}:${CHALLENGE_PORT} \ ${mount_volumes:-} \ ${@:-} \