Alpine & Oracle java based Elasticsearch docker image of smaller than official version.
326
Elasticsearch docker image of smaller than official version.
https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html
You can run the default elasticsearch command simply:
$ docker run -d gleez/elasticsearch
You can also pass in additional flags to elasticsearch:
$ docker run -d -e ES_JAVA_OPTS="-Xms1g -Xmx1g" gleez/elasticsearch -E 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 gleez/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 gleez/elasticsearch
This image includes EXPOSE 9200 9300 (default http.port), so standard container linking will make it automatically available to the linked containers.
Content type
Image
Digest
Size
94.6 MB
Last updated
over 9 years ago
docker pull gleez/elasticsearch:5.3.1