Public | Automated Build

Last pushed: a year ago
Short Description
ElasticSearch docker image based on Alpine Linux
Full Description

ElasticSearch docker image based on Alpine Linux


$ make build


This image is published on DockerHub as gafiatulin/alpine-elasticsearch.

Click here to see it's DockerHub homepage


The default command simply runs elasticsearch and exposes port 9200 and 9300:

$ docker run -d gafiatulin/alpine-elasticsearch

You can decide to pass it additional flags by passing in a different command:

$ docker run -d gafiatulin/alpine-elasticsearch elasticsearch"TestNode"

This image uses a default set of config files but if you with to provide your own you can do so by mounting them to the /usr/share/elasticsearch/config directory:

$ docker run -d -v "$PWD/config":/usr/share/elasticsearch/config gafiatulin/alpine-elasticsearch

Same thing goes for the data directory, if you want to keep you data mounted in a

$ docker run -d -v "$PWD/esdata":/usr/share/elasticsearch/data gafiatulin/alpine-elasticsearch

This image includes EXPOSE 9200 9300, so standard container linking will make it automatically available to the linked containers

Docker Pull Command
Source Repository