docker elasticsearch 命令

docker image elasticsearch6.4.3 基本启动参数

docker run -d --name=elasticsearch_6.4.3 -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:6.4.3
docker pull docker.elastic.co/elasticsearch/elasticsearch:6.4.3
docker run --rm -it -p 9200:9200 -p 9300:9300 -v "$PWD"/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml docker.elastic.co/elasticsearch/elasticsearch:6.4.3

https://www.cnblogs.com/hackyo/p/9951684.html

你可能感兴趣的:(经验总结)