Sign inSign up

gleez/elasticsearch

By gleez

•Updated over 9 years ago

Alpine & Oracle java based Elasticsearch docker image of smaller than official version.

Image
3

326

gleez/elasticsearch repository overview

⁠elasticsearch

Elasticsearch docker image of smaller than official version.

⁠Base Image

  • gleez/alpine-java:jdk8
⁠Version: 5.3.1, Build: 5f9cf58/2017-04-17T15:52:53.846Z, JVM: 1.8.0_131

⁠Environment

  • Alpine Linux 3.5
  • Oracle Java 8 JDK
  • Elasticsearch 5.3.1
⁠For docker configuration settings:

https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html⁠

⁠Running Containers

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.

⁠License

MIT⁠

Tag summary

Content type

Image

Digest

Size

94.6 MB

Last updated

over 9 years ago

docker pull gleez/elasticsearch:5.3.1