Docker images for:
- Elasticsearch based on slim Alpine Linux.
- Kibana based on Ubuntu 16.04.
- Java 8 (openjdk)
- Elasticsearch 6.x
- Kibana 6.x
This Elasticsearch image is based on 🐳 image java:openjdk-8-jre-alpine, which makes it relatively smaller compared with official Elastic image based on CentOS 7:
Elastic Image | Etriphany Image |
---|---|
Based on CentOS 7 | Based on Alpine 3.5 |
Image size around 510 MB | Image size around 150 MB |
$ git clone https://github.com/etriphany/docker-elasticsearch.git
$ cd docker-elasticsearch
$ docker-compose build
Running a container:
$ docker run -d -p 9200:9200 etriphany/elasticsearch-6
Running a container defining Elasticsearch settings from command line:
$ docker run -d -p 9200:9200 -e "http.host=0.0.0.0" -e "cluster.name=my_cluster" etriphany/elasticsearch-6
Running full test cluster, including a Kibana node, using Docker Compose:
$ docker-compose up -d
Access your local Kibana instance at:
http://localhost:5601