Difference between revisions of "Install ElasticSearch using Docker"
Jump to navigation
Jump to search
(→Docker) |
|||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | To install [[ElasticSearch]] follow the instructions: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html | |
and modify configuration file as needed | and modify configuration file as needed | ||
− | |||
+ | == Docker == | ||
+ | :<code>[[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</code> | ||
− | :: | + | :<code>[[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</code> |
− | Connect to | + | |
+ | :<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> | ||
+ | |||
+ | |||
+ | * Configuration file: <code>[[/usr/share/elasticsearch/config/]][[elasticsearch.yml]]</code> | ||
+ | |||
+ | == [[docker-compose]] == | ||
+ | * https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-compose-file | ||
+ | |||
+ | |||
+ | == Connect to == | ||
* <code>http://localhost:9200/</code> | * <code>http://localhost:9200/</code> | ||
* <code>http://localhost:9200/_cat/health</code> | * <code>http://localhost:9200/_cat/health</code> | ||
+ | 1603792806 10:00:06 docker-cluster yellow 1 1 222 222 0 0 201 0 - 52.5% | ||
− | Also install Kibana: | + | Also install [[Kibana]] plugin for ElasticSearch: [[Install Kibana using docker]] |
== See also == | == See also == | ||
+ | * [[Install ElasticSearch and Kibana using Docker]] | ||
+ | * [[Install Kibana using docker]] | ||
* [[ElasticSearch/Install Elasticsearch-hq management GUIs for Elasticsearch]] | * [[ElasticSearch/Install Elasticsearch-hq management GUIs for Elasticsearch]] | ||
* {{docker}} | * {{docker}} | ||
+ | * {{ELK}} | ||
[[Category:Elasticsearch]] | [[Category:Elasticsearch]] |
Latest revision as of 10:54, 28 June 2022
To install ElasticSearch follow the instructions: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html and modify configuration file as needed
Contents
Docker[edit]
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
- Configuration file:
/usr/share/elasticsearch/config/elasticsearch.yml
docker-compose[edit]
Connect to[edit]
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[edit]
- Install ElasticSearch and Kibana using Docker
- Install Kibana using docker
- ElasticSearch/Install Elasticsearch-hq management GUIs for Elasticsearch
- Docker:
docker-compose
, Docker Desktop, Docker Scout, Docker Swarm, Docker Volumes, Docker images management, docker network,docker inspect
,docker volume inspect
,Dockerfile
, Docker Engine release notes,docker kill
,moby
, Docker-in-Docker,docker context
,buildx
,docker tag
,docker system prune
, Docker Hub,hub-tool, /etc/docker/daemon.json
,hostconfig.json
, dockerd, logs, Docker logging, Backup,docker service
,depends on
,--dns, --filter
,--mount
,docker login
,docker build
,apt remove docker.io
,.dockerignore
, docker context ls |docker-machine, .docker/
, PWD,$HOME/.docker/config.json
, Docker ID,--env-file, docker --help
- Elastic: ELK,
Elasticsearch
,Logstash
,Kibana
, Installation, AWS Elasticsearch, Elastic SIEM, Elastic Beats,metricbeat
,filebeat
,journalbeat
, Elastisearch Service , Search guard, Elasticsearch logs, curator, ILM, Lumberjack protocol,aws_elasticsearch_domain
, KQL,elasticsearch.yml, elasticsearch-plugin, elasticsearch-certutil
, Elasticsearch release notes/changelog
Advertising: