Append --init flag to Docker run in order to get zombie processes reaped

This commit is contained in:
R. Richard 2019-08-23 15:33:50 +02:00
parent 9fd3520910
commit c972026385
1 changed files with 2 additions and 1 deletions

View File

@ -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:-} \
${@:-} \