Install ElasticSearch using Docker

From wikieduonline
Revision as of 17:22, 21 October 2020 by Welcome (talk | contribs) (→‎Docker)
Jump to navigation Jump to search

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


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

docker-compose

Connect to

See also

Advertising: