错误日志:max virtual memory areas vm.max_map_count [65530] is too low, increase to at least
Execute on the host machine: sudo sysctl -w vm.max_map_count = 262144 The
docker command adds parameters: -e ES_JAVA_OPTS = "-Xms1g -Xmx1g"
Turn: https://blog.csdn.net/asc2046/article/details/77409589
another kind:
Docker installs elasticsearch error max virtual memory areas vm.max_map_count [65530] is too low
Use the following command to solve:
vi /etc/sysctl.conf
add a line vm.max_map_count = 655360
Load parameters
sysctl -p
restart
dockerr start esmaster
turn: https://blog.csdn.net/xingfei_work/article/details/81463978
Both are useful