Elasticsearch on Alpine Linux Docker Image
This image provides Elasticsearch based on Alpine Linux latest stable version. All files are adapted from the official Elasticsearch docker repository.
Supported tags and respective Dockerfile links
How to use this image
You can run the default elasticsearch command simply:
$ docker run -d bashell/alpine-elasticsearch
You can also pass in additional flags to elasticsearch:
$ docker run -d bashell/alpine-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
$ docker run -d -v "$PWD/config":/opt/elasticsearch/config bashell/alpine-elasticsearch
This image is configured with a volume at
/opt/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":/opt/elasticsearch/data bashell/alpine-elasticsearch
This image includes
EXPOSE 9200 9300 (default http port), so standard container linking will make it automatically available to the linked containers.
If you have any problems with or questions about this image, please contact us through a Bitbucket issue.