Public | Automated Build

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

ElasticSearch Dockerfile

This repository contains a base Dockerfile of ElasticSearch for Docker's automated build published to the public Docker Hub Registry.

With some custom addition : plugin head and a custome elasticsearch.yml

Base Docker Image


  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull puckel/docker-elasticsearch

Alternatively, you can build an image from Dockerfile:


docker run -d -p 9200:9200 --name elasticsearch puckel/docker-elasticsearch

Attach persistent/shared directories

  1. Create a mountable data directory <data-dir> on the host.

  2. Edit ElasticSearch config file at <data-dir>/elasticsearch.yml.

     logs: /data/log
     data: /data/data
  3. Start a container by mounting data directory and specifying the custom configuration file:

    docker run -d -p 9200:9200 -v <data-dir>:/data --name elasticsearch puckel/docker-elasticsearch

After few seconds, open http://<host>:9200 or http://localhost:9200/_plugin/head/ to see the result.

Docker Pull Command
Source Repository