Estimated reading time: 3 minutes

Elasticsearch is a powerful open source search and analytics engine that makes data easy to explore.

GitHub repo: https://github.com/elastic/elasticsearch

Library reference

This content is imported from the official Docker Library docs, and is provided by the original uploader. You can view the Docker Hub page for this image at https://hub.docker.com/images/elasticsearch

Supported tags and respective Dockerfile links

Quick reference

What is Elasticsearch?

Elasticsearch is a distributed, RESTful search and analytics engine capable of solving a growing number of use cases. As the heart of the Elastic Stack, it centrally stores your data so you can discover the expected and uncover the unexpected.

For more information about Elasticsearch, please visit www.elastic.co/products/elasticsearch


About This Image

This default distribution is governed by the Elastic License, and includes the full set of free features.

View the detailed release notes here.

Not the version you’re looking for? View all supported past releases.

How to use this image

Note: Pulling an images requires using a specific version number tag. The latest tag is not supported.

For Elasticsearch versions prior to 6.4.0 a full list of images, tags, and documentation can be found at docker.elastic.co.

For full Elasticsearch documentation see here.

The commands below are intended for deploying in a development context only. For production installation and configuration, see Install Elasticsearch with Docker.

Running in Development Mode

Create user defined network (useful for connecting to other services attached to the same network (e.g. Kibana)):

$ docker network create somenetwork

Run Elasticsearch:

$ docker run -d --name elasticsearch --net somenetwork -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" elasticsearch:tag

Running in Production Mode

See Install Elasticsearch with Docker


View license information for the software contained in this image.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

Some additional license information which was able to be auto-detected might be found in the repo-info repository’s elasticsearch/ directory.

As for any pre-built image usage, it is the image user’s responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.

library, sample, elasticsearch