错误日志:max virtual memory areas vm.max_map_count [65530] is too low, increase to at least
在宿主机执行:sudo sysctl -w vm.max_map_count=262144
docker 命令增加参数: -e ES_JAVA_OPTS="-Xms1g -Xmx1g"
转:https://blog.csdn.net/asc2046/article/details/77409589
另外一种:
Docker安装 elasticsearch 报错max virtual memory areas vm.max_map_count [65530] is too low
使用下面命令解决:
vi /etc/sysctl.conf
添加 一行 vm.max_map_count=655360
加载参数
sysctl -p
重启
dockerr start esmaster
转:https://blog.csdn.net/xingfei_work/article/details/81463978
俩都有用 都行