Unverified Commit 3c3cec97 authored by Anthony Casagrande's avatar Anthony Casagrande Committed by GitHub
Browse files

fix: increase ulimit nofile for container (#969)

parent 42969800
......@@ -24,7 +24,8 @@
"--cap-add=SYS_PTRACE",
"--shm-size=10G",
"--ulimit=memlock=-1",
"--ulimit=stack=67108864"
"--ulimit=stack=67108864",
"--ulimit nofile=65536:65536"
],
"service": "dynamo",
"customizations": {
......
......@@ -288,6 +288,24 @@ if [ -z "$RUN_PREFIX" ]; then
set -x
fi
${RUN_PREFIX} docker run ${GPU_STRING} ${INTERACTIVE} ${RM_STRING} --network host --shm-size=10G --ulimit memlock=-1 --ulimit stack=67108864 ${ENVIRONMENT_VARIABLES} ${VOLUME_MOUNTS} -w /workspace --cap-add CAP_SYS_PTRACE --ipc host ${PRIVILEGED_STRING} ${NAME_STRING} ${ENTRYPOINT_STRING} ${IMAGE} "${REMAINING_ARGS[@]}"
${RUN_PREFIX} docker run \
${GPU_STRING} \
${INTERACTIVE} \
${RM_STRING} \
--network host \
--shm-size=10G \
--ulimit memlock=-1 \
--ulimit stack=67108864 \
--ulimit nofile=65536:65536 \
${ENVIRONMENT_VARIABLES} \
${VOLUME_MOUNTS} \
-w /workspace \
--cap-add CAP_SYS_PTRACE \
--ipc host \
${PRIVILEGED_STRING} \
${NAME_STRING} \
${ENTRYPOINT_STRING} \
${IMAGE} \
"${REMAINING_ARGS[@]}"
{ set +x; } 2>/dev/null
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment