docker-elasticsearch docker

Dockerfile for a base Elasticsearch image to be extended by others (allow to install plug-ins, change configuration, etc.)

docker-elasticsearch

Very lean (140MB) and highly configurable Elasticsearch Docker image.

Docker Repository on Quay.io

Current software

Run

Attention

Ready to use node for cluster elasticsearch-default:

docker run --name elasticsearch \
	--detach \
	--privileged \
	--volume /path/to/data_folder:/data \
        quay.io/pires/docker-elasticsearch:2.4.1

Ready to use node for cluster myclustername:

docker run --name elasticsearch \
	--detach \
	--privileged \
	--volume /path/to/data_folder:/data \
	-e CLUSTER_NAME=myclustername \
        quay.io/pires/docker-elasticsearch:2.4.1

Ready to use node for cluster elasticsearch-default, with 8GB heap allocated to Elasticsearch:

docker run --name elasticsearch \
	--detach \
	--privileged \
	--volume /path/to/data_folder:/data \
	-e ES_HEAP_SIZE=8G \
        quay.io/pires/docker-elasticsearch:2.4.1

Master-only node for cluster elasticsearch-default:

docker run --name elasticsearch \
	--detach \
	--privileged \
	--volume /path/to/data_folder:/data \
	-e NODE_DATA=false \
	-e HTTP_ENABLE=false \
        quay.io/pires/docker-elasticsearch:2.4.1

Data-only node for cluster elasticsearch-default:

docker run --name elasticsearch \
	--detach --volume /path/to/data_folder:/data \
	--privileged \
	-e NODE_MASTER=false \
	-e HTTP_ENABLE=false \
        quay.io/pires/docker-elasticsearch:2.4.1

Client-only node for cluster elasticsearch-default:

docker run --name elasticsearch \
	--detach \
	--privileged \
	--volume /path/to/data_folder:/data \
	-e NODE_MASTER=false \
	-e NODE_DATA=false \
        quay.io/pires/docker-elasticsearch:2.4.1

I also make available special images and instructions for AWS EC2 and Kubernetes.

Environment variables

This image can be configured by means of environment variables, that one can set on a Deployment.

Related Repositories

twitter-sentiment-elasticsearch

twitter-sentiment-elasticsearch

Let's perform Twitter sentiment analysis using Python, Docker, Elasticsearch, and Kibana! ...

docker-elasticsearch

docker-elasticsearch

ElasticSearch for Docker. ...

docker-elasticsearch-kubernetes

docker-elasticsearch-kubernetes

Ready to use Elasticsearch + Kubernetes discovery plug-in Docker image. ...

docker-elasticsearch

docker-elasticsearch

Dockerfile for a base Elasticsearch image to be extended by others (allow to install plug-ins, change configuration, etc.) ...

docker-elasticsearch-cluster

docker-elasticsearch-cluster

Clustering elasticsearch with Docker and Docker Compose ...


Top Contributors

pires dermidgen jaohaohsuan

Releases

-   2.4.1 zip tar
-   2.4.0 zip tar
-   2.3.5_1 zip tar
-   2.3.5 zip tar
-   2.3.4 zip tar
-   2.3.3 zip tar
-   2.3.2 zip tar
-   2.3.1 zip tar
-   2.3.0 zip tar
-   2.2.2 zip tar
-   2.2.1 zip tar
-   2.2.0 zip tar
-   2.1.1 zip tar
-   2.1.0 zip tar
-   2.0.0 zip tar
-   1.7.5 zip tar
-   1.7.2 zip tar
-   1.7.1 zip tar
-   1.7.1-2 zip tar
-   1.7.0 zip tar
-   1.6.1 zip tar
-   1.6.0 zip tar
-   1.5.2 zip tar