Last active
June 19, 2018 03:57
-
-
Save kigawas/626017459e5d4cc365ae152c347b9ebd to your computer and use it in GitHub Desktop.
Run redis in docker without warnings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sysctl vm.overcommit_memory=1 | |
echo never > /sys/kernel/mm/transparent_hugepage/enabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
And run like
docker run --sysctl net.core.somaxconn=511 redis