Docker Install ES & Kibana & IK Words Aini

2023-01-22   ES  

docker search elasticsearch

docker pull

docker run --name es -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -d elasticsearch:7.2.0

The container has been started and you can enter the IP + port number in the browser.

docker run -it -d -e ELASTICSEARCH_URL= --name kibana -p 5601:5601 kibana:7.2.0

Visit http: // ip: 5601
If the display is not connected, the ES needs to be configured as follows:

Enter Kibana container

docker exec -it <container name> /bin/bash
cd config
vi kibana.yml
# Default Kibana configuration for docker target kibana "0"
elasticsearch.hosts: [ "http://elasticsearch:9200" ]
xpack.monitoring.ui.container.elasticsearch.enabled: true

only need to replace the above ELASTICSEARCH in the above “http: // elasticsearch: 9200” to the internal IP of the ES container in the previous step.


, exit the container, restart the docker restart Kibana container ID

Open the port number corresponding to the firewall

firewall-cmd --add-port=9200/tcp --permanent
firewall-cmd --add-port=5601/tcp --permanent

Here is a reference

Visit the GitHub website, enter IK in the search bar, and find the consistent .zip compressed package with the same version number

Enter ES container

docker exec -it <container name> /bin/bash
cd /bin

./elasticsearch-plugin install

Restart ES container

docker restart <container name>


Random Posts

IIS + Tomcat share port 80

Python uses regular expressions to process HTML comments and labels


Zheng Qing oj1069neweva

HDU2014 Young Singer Grand Prix Jury to score IT