docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node"
docker.elastic.co/elasticsearch/elasticsearch:6.7.2
参考
https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docker.html
docker run -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node"
docker.elastic.co/elasticsearch/elasticsearch:6.7.2
https://www.elastic.co/guide/en/elasticsearch/reference/6.7/docker.html