在宿主机执行:sudo sysctl -w vm.max_map_count=262144
docker 命令增加参数: -e ES_JAVA_OPTS="-Xms1g -Xmx1g"
参考:https://github.com/docker-library/elasticsearch/issues/98
docker 命令增加参数: -e ES_JAVA_OPTS="-Xms1g -Xmx1g"
参考:https://github.com/docker-library/elasticsearch/issues/98