docker环境下ES启动及IK分词器启动命令记录

docker run --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -e ES_JAVA_OPTS="-Xms64m -Xmx512m" -v /gdc/app/es/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml -v /gdc/app/es/data:/usr/share/elasticsearch/data -v  /gdc/app/es/plugins:/usr/share/elasticsearch/plugins -d docker.elastic.co/elasticsearch/elasticsearch:7.10.2
docker ps -a
docker run --name kibana -e ELASTICSEARCH_HOSTS=http://192.168.1.96:9200 -p 5601:5601 -d docker.elastic.co/kibana/kibana:7.10.2
 docker ps
docker los

你可能感兴趣的:(docker,elasticsearch,jenkins)