I'm running ealsticsearch 7.0.0 in docker. But the elasticsearch container always terminates just after I start it. I've configured docker as what official reference said. $ screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty sysctl -w vm.max_map_count=262144 And an error is still logged out:

[1] bootstrap checks failed
[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured

So where can I confirm that the vm.max_map_count setting is configured correctly? Or maybe because of other reasons?

Thanks in advance!

0 Answers