Pull the image
$ docker pull docker.elastic.co/elasticsearch/elasticsearch:7.8.0Simple set up
Single node
$ docker run --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -d docker.elastic.co/elasticsearch/elasticsearch:7.8.0
$ docker logs -f elasticsearch
Ports
- 9200: requests
- 9300: communication with nodes
No comments:
Post a Comment