1.3.9
,1.3
(1.3/Dockerfile)1.4.5
,1.4
(1.4/Dockerfile)1.5.2
,1.5
(1.5/Dockerfile)1.6.2
,1.6
(1.6/Dockerfile)1.7.3
,1.7
,1
(1.7/Dockerfile)2.0.0
,2.0
,2
,latest
(2.0/Dockerfile)
For more information about this image and its history, please see the relevant manifest file (library/elasticsearch
). This image is updated via pull requests to the docker-library/official-images
GitHub repo.
For detailed information about the virtual/transfer sizes and individual layers of each of the above supported tags, please see the elasticsearch/tag-details.md
file in the docker-library/docs
GitHub repo.
Elasticsearch is a search server based on Lucene. It provides a distributed, multitenant-capable full-text search engine with a RESTful web interface and schema-free JSON documents.
Elasticsearch is a registered trademark of Elasticsearch BV.
You can run the default elasticsearch
command simply:
$ docker run -d elasticsearch
You can also pass in additional flags to elasticsearch
:
$ docker run -d elasticsearch elasticsearch -Des.node.name="TestNode"
This image comes with a default set of configuration files for elasticsearch
, but if you want to provide your own set of configuration files, you can do so via a volume mounted at /usr/share/elasticsearch/config
:
$ docker run -d -v "$PWD/config":/usr/share/elasticsearch/config elasticsearch
This image is configured with a volume at /usr/share/elasticsearch/data
to hold the persisted index data. Use that path if you would like to keep the data in a mounted volume:
$ docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data elasticsearch
This image includes EXPOSE 9200 9300
(default http.port
), so standard container linking will make it automatically available to the linked containers.
View license information for the software contained in this image.
This image is officially supported on Docker version 1.9.1.
Support for older versions (down to 1.6) is provided on a best-effort basis.
Please see the Docker installation documentation for details on how to upgrade your Docker daemon.
Documentation for this image is stored in the elasticsearch/
directory of the docker-library/docs
GitHub repo. Be sure to familiarize yourself with the repository's README.md
file before attempting a pull request.
If you have any problems with or questions about this image, please contact us through a GitHub issue.
You can also reach many of the official image maintainers via the #docker-library
IRC channel on Freenode.
You are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub issue, especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.