📡 You're offline — showing cached content
New version available!
Quick Access
Tutorials Elasticsearch Installing Elasticsearch

Installing Elasticsearch

4 min read
Run Elasticsearch and Kibana locally with Docker Compose for development and exploration.

Installing Elasticsearch

# Docker (quickest)
docker run -d   --name elasticsearch   -p 9200:9200   -e "discovery.type=single-node"   -e "xpack.security.enabled=false"   elasticsearch:8.12.0

# Docker Compose with Kibana
services:
  elasticsearch:
    image: elasticsearch:8.12.0
    environment:
      - discovery.type=single-node
      - xpack.security.enabled=false
    ports: ["9200:9200"]
  kibana:
    image: kibana:8.12.0
    ports: ["5601:5601"]
    depends_on: [elasticsearch]

# Verify
curl http://localhost:9200
# Kibana UI: http://localhost:5601