Add NOFILE and NPROC ulimit settings to the SysV init script

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
Upstream-commit: bae79c3e7285c170f97a0f7f331a48fb47f0f40e
Component: engine
This commit is contained in:
Tianon Gravi
2014-07-02 09:38:19 -06:00
parent 7c15233e4a
commit a3d12bd8ea

View File

@ -88,6 +88,9 @@ case "$1" in
touch "$DOCKER_LOGFILE"
chgrp docker "$DOCKER_LOGFILE"
ulimit -n 1048576
ulimit -u 1048576
log_begin_msg "Starting $DOCKER_DESC: $BASE"
start-stop-daemon --start --background \
--no-close \