mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-25 11:44:44 +00:00
Merge pull request #257 from justincormack/sysctl
Add a custom sysctl file
This commit is contained in:
commit
15e34f9717
@ -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