Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 379 Bytes

File metadata and controls

13 lines (9 loc) · 379 Bytes

Start Elasticsearch server

1. Download Elasticsearch image

docker pull docker.elastic.co/elasticsearch/elasticsearch:8.16.0

2. Run Elasticsearch service

docker run -p 9200:9200 -p 9300:9300 -e ES_JAVA_OPTS="-Xms1g -Xmx1g" -e "discovery.type=single-node" -e "xpack.security.enabled=false" \ docker.elastic.co/elasticsearch/elasticsearch:8.16.0