使用docker安装elasticsearch

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

posted @ 2019-08-04 23:22  ka1em  阅读(229)  评论(0编辑  收藏  举报