docker run elasticsearch

docker run -d --name=esNode1 -p 9200:9200 -p 9300:9300 elasticsearch:2.3 -Des.network.publish_host="192.168.56.101"

docker run -d --restart=always -p 9200:9200 -p 9300:9300 --name=elasticsearch-client -v /opt/docker/node1/elasticsearch/data:/usr/share/elasticsearch/data -v /opt/docker/node1/elasticsearch/logs:/usr/share/elasticsearch/logs elasticsearch

posted @ 2016-12-26 20:46  蚂蚁都督  阅读(1481)  评论(0编辑  收藏  举报