Increase p and n ulimits to match boot2docker, fixes #64

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-04-04 11:44:27 +01:00
parent d29278ba32
commit e851bacbd6

View File

@ -50,6 +50,11 @@ start()
[ -d /Mac/$d ] && mkdir -p /$d && mount --bind /Mac/$d /$d
done
# same default ulimit as boot2docker; if you want more can set at docker run time
DOCKER_ULIMITS=1048576
ulimit -n $DOCKER_ULIMITS
ulimit -p $DOCKER_ULIMITS
DOCKER_LOGFILE="/var/log/docker.log"
start-stop-daemon --start --quiet \