docker 安装elasticserch的坑

docker 安装elasticserch的坑

1、max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

在主机中运行:

sysctl -w vm.max_map_count=262144

 

2、Caused by: java.nio.file.AccessDeniedException: /usr/share/elasticsearch/data/nodes/0/node.lock

修改映射路径的uid:gid

chown -R 1000:1000 /YOU PATH

 

 

你可能感兴趣的:(docker 安装elasticserch的坑)