Elasticsearch Docker Image


#1

Hey all.

I have created a elasticsearch docker images.

Repo: https://github.com/raft-buildpacks-arm/elasticsearch
Hub: https://hub.docker.com/r/mangoraft/elasticsearch-arm/

Cluster Configuration

docker-host-01

eth0: 212.47.226.1
Docker version 1.4.1, build 5bc2ff8/1.4.1

docker-host-02

eth0: 212.47.226.2
Docker version 1.4.1, build 5bc2ff8/1.4.1

Building the Cluster

On Docker Host 01

docker run -d \
  -p 9200:9200 \
  -p 9300:9300 \
  mangoraft/elasticsearch-arm \
  --cluster.name=unicast \
  --network.publish_host=212.47.226.1 \
  --discovery.zen.ping.multicast.enabled=false \
  --discovery.zen.ping.unicast.hosts=212.47.226.2 \
  --discovery.zen.ping.timeout=3s \
  --discovery.zen.minimum_master_nodes=1

On Docker Host 02

docker run -d \
  -p 9200:9200 \
  -p 9300:9300 \
  mangoraft/elasticsearch-arm \
  --cluster.name=unicast \
  --network.publish_host=212.47.226.2 \
  --discovery.zen.ping.multicast.enabled=false \
  --discovery.zen.ping.unicast.hosts=212.47.226.1 \
  --discovery.zen.ping.timeout=3s \
  --discovery.zen.minimum_master_nodes=1