1. Install docker not explain, do not install docker guess you would not think of a docker
2. Install elasticsearch view docker hub, look at the mirror version, https://hub.docker.com/_/elasticsearch
then
docker pull elasticserch:7.5.1
Mirroring installed, boot image
Create a network, for use
docker network create es7-net
Start es vessel
docker run -d --name elasticsearch --net es7-net -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticserch:7.5.1
Installation kibana Mirror
docker pull kibana:7.5.1
Note: The version of elasticsearch and kibana to be the same, or start kibana behind when prone Kibana server is not ready yet
Note: The version of elasticsearch and kibana to be the same, or start kibana behind when prone Kibana server is not ready yet
Note: The version of elasticsearch and kibana to be the same, or start kibana behind when prone Kibana server is not ready yet
Start kibana container
docker run -d --net es7-net --link elasticsearch -e "ELASTICSEARCH_URL=http://127.0.0.1:9200" -p 5601:5601 kibana:7.5.1
Note: network and channel elasticsearch be consistent, otherwise not find elasticsearch
Then we can visit
elasticsearch http://localhost:9200
kibana http://localhost:5601
Effective pro-test