docker run -d --name elastic -p 9200:9200 740162752/elasticsearch:6.8.1
若提示一下错误
ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch.
bootstrap check failure [1] of [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
Content type
Image
Digest
Size
125.8 MB
Last updated
over 4 years ago
docker pull 740162752/elasticsearch