mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 01:59:07 +00:00
Increase p and n ulimits to match boot2docker, fixes #64
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
d29278ba32
commit
e851bacbd6
@ -50,6 +50,11 @@ start()
|
|||||||
[ -d /Mac/$d ] && mkdir -p /$d && mount --bind /Mac/$d /$d
|
[ -d /Mac/$d ] && mkdir -p /$d && mount --bind /Mac/$d /$d
|
||||||
done
|
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"
|
DOCKER_LOGFILE="/var/log/docker.log"
|
||||||
|
|
||||||
start-stop-daemon --start --quiet \
|
start-stop-daemon --start --quiet \
|
||||||
|
Loading…
Reference in New Issue
Block a user