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
原文地址:https://www.cnblogs.com/ka1em/p/11300510.html
时间: 2024-11-11 10:01:39