Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elasticsearch 5.0 doesn't work without host mod, use 2.x #57

Closed
BretFisher opened this issue Nov 23, 2016 · 1 comment
Closed

Elasticsearch 5.0 doesn't work without host mod, use 2.x #57

BretFisher opened this issue Nov 23, 2016 · 1 comment

Comments

@BretFisher
Copy link
Contributor

elasticsearch 5 crashes with: elasticsearch "max virtual memory areas" too low vm.max_map_count. Fix for now to stick with 5.0 seems to be:

sudo sysctl -w vm.max_map_count=262144 re: docker-library/elasticsearch#98 (comment)

Workaround I'd recommend for this workshop for now: change cmd to pull es 2 from slide 69:

docker service create --name search --publish 9200:9200 --replicas 7 \ elasticsearch:2

@jpetazzo
Copy link
Owner

Yep, already fixed in the lisa branch (where I'm staging changes and will merge them just after mentor week). Thanks a lot for reporting, though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants