标签:usr dock run nod code docke 状态 single har
1、拉取镜像
docker pull docker.elastic.co/elasticsearch/elasticsearch:6.3.2
2、运行镜像
docker run -d --name es -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -v /data/ElasticSearch:/usr/share/elasticsearch/data docker.elastic.co/elasticsearch/elasticsearch:6.3.2
3、查看状态
http://192.168.0.164:9100/
标签:usr dock run nod code docke 状态 single har
原文地址:https://www.cnblogs.com/raorao1994/p/10157220.html