Difference between revisions of "Install ElasticSearch using Docker"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
  
  
::Config file: <code>/usr/share/elasticsearch/config/[[elasticsearch.yml]]</code>
+
* Configuration file: <code>/usr/share/elasticsearch/config/[[elasticsearch.yml]]</code>
  
 
== [[docker-compose]] ==
 
== [[docker-compose]] ==

Revision as of 16:19, 10 November 2020

To install ElasticSearch follow the instructions: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html and modify configuration file as needed


Docker

docker pull docker.elastic.co/elasticsearch/elasticsearch:latest && docker run -d --name MYELASTICSEARCH -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:latest
docker pull docker.elastic.co/elasticsearch/elasticsearch:7.9.2 && docker run -d --name MYELASTICSEARCH -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.9.2
docker pull docker.elastic.co/elasticsearch/elasticsearch:7.8.0 && docker run -d --name MYELASTICSEARCH -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.8.0


docker-compose


Connect to

1603792806 10:00:06 docker-cluster yellow 1 1 222 222 0 0 201 0 - 52.5%


Also install Kibana plugin for ElasticSearch: Install Kibana using docker

See also

Advertising: