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

Build

$ make build

DockerHub

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

Click here to see it's DockerHub homepage

Usage

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 -Des.node.name="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
volume:

$ 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
Owner
gafiatulin
Source Repository

Comments (0)