1.首先拉取es镜像
docker pull elasticsearch
2.查看镜像
docker images
3.启动es
docker run --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -e ES_JAVA_OPTS="-Xms84m -Xmx512m" -v /opt/es_docker/config/elasticsearch.yml:/usr/elasticsearch/config/elasticsearch.yml -v /opt/es_docker/data:/usr/elasticsearch/data -v /opt/es_docker/plugins:/usr/elasticsearch/plugins -d elasticsearch
4.查看启动结果
docker ps
5.安装kibana
docker pull kibana
6.启动kibana
docker run -d -p 5601:5601 kibana
7.访问kibana
kibana指令操作界面:http://192.168.72.128:5601
8.kibana界面展示: