Avoid overcommit memory

This commit is contained in:
Alexandre
2022-11-08 14:38:48 +01:00
committed by GitHub
parent e0a562995f
commit b0f3a5663f

View File

@@ -28,6 +28,10 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \
S6_SERVICES_GRACETIME=0
# Avoid overcommit memory
RUN \
echo "vm.overcommit_memory = 1" >> /etc/sysctl.conf
##################
# 3 Install apps #
##################