Elasticsearch exited with code 78

#1

I run the docker-compose up the code I downloaded from repo

now I get the error exited with 78.
ERROR: [1] bootstrap checks failed elasticsearch | [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]ERROR: [1] bootstrap checks failed
elasticsearch | [1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

then I try to do
sysct1 -w vm.max_map_count = 262144
I get: sysct1: command not found

What seems the issue?
Any insight would be helpful.

1 Like