Difference between revisions of "Install ElasticSearch using Docker"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 4: Line 4:
  
 
== Docker ==
 
== Docker ==
::<code>[[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.5.1</code>
+
::<code>[[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</code>
  
  

Revision as of 08:33, 12 July 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: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


Config file: /usr/share/elasticsearch/config/elasticsearch.yml

docker-compose


Connect to


Also install Kibana plugin for ElasticSearch: Install Kibana using docker

See also

Advertising: