Add a custom sysctl file

This increases resource limits that have been generally requested.

See #232

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-07-08 18:16:05 +01:00
parent 3e894eb470
commit 51563eb677
2 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,7 @@ COPY packages/oom/etc /etc
COPY packages/9pmount-vsock/9pmount-vsock /sbin
COPY packages/test/etc /etc
COPY packages/test/mobytest /usr/bin
COPY packages/sysctl/etc /etc
RUN \
rc-update add swap boot && \

View File

@ -0,0 +1,2 @@
vm.max_map_count = 262144
net.core.somaxconn = 1024