1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-12-05 02:21:31 +00:00

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

View File

@ -44,7 +44,8 @@ challenge::run() {
mount_volumes="${mount_baseimage:-} ${mount_challenge}" mount_volumes="${mount_baseimage:-} ${mount_challenge}"
fi fi
popd popd
docker run --rm \ docker run --init \
--rm \
-p ${CHALLENGE_PORT}:${CHALLENGE_PORT} \ -p ${CHALLENGE_PORT}:${CHALLENGE_PORT} \
${mount_volumes:-} \ ${mount_volumes:-} \
${@:-} \ ${@:-} \