docker下安装elasticSearch报错:[1]: max virtual memory areas vm.max_map_count [65530] is too low

docker下安装elasticSearch报错:[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
docker下安装elasticSearch报错:[1]: max virtual memory areas vm.max_map_count [65530] is too low_第1张图片
解决方案:
编辑 /etc/sysctl.conf,追加以下内容:

vm.max_map_count=262144

保存后,执行:

sysctl  -p

重新启动,成功。

你可能感兴趣的:(Docker)