mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-24 03:15:36 +00:00
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:
parent
3e894eb470
commit
51563eb677
@ -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 && \
|
||||
|
2
alpine/packages/sysctl/etc/sysctl.d/01-moby.conf
Normal file
2
alpine/packages/sysctl/etc/sysctl.d/01-moby.conf
Normal file
@ -0,0 +1,2 @@
|
||||
vm.max_map_count = 262144
|
||||
net.core.somaxconn = 1024
|
Loading…
Reference in New Issue
Block a user