How to install es and kibana-7.10.1 in docker
Editor to share with you how to install docker es and kibana-7.10.1, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Docker run-- detach\
-- name elasticsearch\
-- publish 19200 9200-- publish 19300 VR 9300
-- restart always\
-env "node.name=elasticsearch"\
-env "cluster.name=test-elasticsearch"\
-env "bootstrap.memory_lock=true"\
-env "ES_JAVA_OPTS=-Xms512m-Xmx512m"\
-env "discovery.type=single-node"\
-env "script.painless.regex.enabled=true"\
-- volume / data/elasticsearch/elasticsearchdata:/usr/share/elasticsearch/data\
-- volume / data/elasticsearch/elasticsearchplugins:/usr/share/elasticsearch/plugins\
-- volume / data/elasticsearch/elasticsearchconfig/stopwords.txt:/usr/share/elasticsearch/config/stopwords.txt\
-- volume / data/elasticsearch/elasticsearchconfig/synonyms.txt:/usr/share/elasticsearch/config/synonyms.txt\
-- volume / etc/localtime:/etc/localtime\
Elasticsearch:7.10.1
Docker run-- detach\
-- name kibana\
-- publish 15601 5601\
-- link elasticsearch:es\
Env "ELASTICSEARCH_HOSTS= http://127.0.0.1:19200"\"
-env "LS_JAVA_OPTS=-Xmx256m-Xms256m"\
-- volume / etc/localtime:/etc/localtime\
Kibana:7.10.1
The above is all the contents of the article "how to install es and kibana-7.10.1 in docker". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!