Ready to use Elasticsearch + Kubernetes discovery plug-in Docker image.
pires Bump Alpine to 3.8.1
Signed-off-by: Paulo Pires <>
Latest commit b62d86b Sep 16, 2018


Ready to use, lean Elasticsearch Docker image ready for using within a Kubernetes cluster.

Docker Repository on

Current software

  • Alpine Linux 3.8
  • IcedTea JRE 8u171
  • Elasticsearch 6.4.0

Note: x-pack-ml module is forcibly disabled as it's not supported on Alpine Linux.


See pires/kubernetes-elasticsearch-cluster for instructions on how to run, scale and use Elasticsearch on Kubernetes.

Environment variables

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

Besides the inherited ones, this container image provides the following:

  • DISCOVERY_SERVICE - the service to be queried for through DNS (default = elasticsearch-discovery).
  • MEMORY_LOCK - memory locking control defaults to false as Kubernetes requires swap to be disabled.