Docker & ElasticSearch

Whenever I try to start Elasticsearch within Docker on my Mac, I get the following error:

[2017-11-07T11:16:00,625][INFO ][o.e.b.BootstrapCheck     ] [y4U9OH5] bound or publishing to a non-loopback or non-link-local address, enforcing bootstrap checks
ERROR: bootstrap checks failed
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

To fix this problem the following should be entered in terminal

docker-machine ssh
sudo sysctl -w vm.max_map_count=262144
exit

 

Docker & ElasticSearch
Scroll to top