docker run -d --name elasticsearch_7_12 -p 29200:9200 -p 29300:9300 -v /fp/docker_data/es/config/elasticsearch.yml:/opt/elasticsearch/config/elasticsearch.yml -v /fp/docker_data/es/data:/opt/elasticsearch/data -v /fp/docker_data/es/plugins:/opt/elasticsearch/plugins -e discovery.type=single-node elasticsearch:7.12.0
docker run -d --name kibana7_12 -p 25601:5601 -e ELASTICSEARCH_HOSTS=http://es_server_ip:29200 kibana:7.12.0
可通过以上命令进行简易部署 es加kib
elasticsearch.yml内容为
http.host: 0.0.0.0
标签:opt,kibana,elasticsearch,docker,data,es From: https://www.cnblogs.com/jvhuaxia/p/17603609.html