Skip to content

Instantly share code, notes, and snippets.

@brexis
Last active May 27, 2018 15:30
Show Gist options
  • Save brexis/572e4ea94ee1ab153be8927678f3f326 to your computer and use it in GitHub Desktop.
Save brexis/572e4ea94ee1ab153be8927678f3f326 to your computer and use it in GitHub Desktop.
# Change elasticsearch image
export ELASTICSEARCH_IMAGE="elasticsearch"
export ELASTICSEARCH_IMAGE_VERSION="5.6.6"
# set vm.max_map_count=262144 in /etc/sysctl.conf permanently
$ grep vm.max_map_count /etc/sysctl.conf
vm.max_map_count=262144
# To apply the setting on a live system type:
$ sysctl -w vm.max_map_count=262144
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment