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:
parent
9fd3520910
commit
c972026385
@ -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:-} \
|
||||||
${@:-} \
|
${@:-} \
|
||||||
|
Loading…
Reference in New Issue
Block a user