Alpine Linux based Elasticsearch Docker Image
Table of Contents
Compare Image Sizes:
- official elasticsearch = 791.6 MB
- blacktop/elasticsearch = 447.28 MB
blacktop version is 518 MB smaller !
REPOSITORY TAG SIZE
blacktop/elasticsearch latest 447MB
blacktop/elasticsearch 7.15 447MB
blacktop/elasticsearch 7.10 294MB
blacktop/elasticsearch 7.9 297MB
blacktop/elasticsearch 7.8 296MB
blacktop/elasticsearch 7.7 294MB
blacktop/elasticsearch 7.6 293MB
blacktop/elasticsearch 7.5 288MB
blacktop/elasticsearch 7.4 288MB
blacktop/elasticsearch 7.3 289MB
blacktop/elasticsearch 7.2 358MB
blacktop/elasticsearch 7.1 304MB
blacktop/elasticsearch 7.0 304MB
blacktop/elasticsearch 6.8 198MB
blacktop/elasticsearch 6.7 192MB
blacktop/elasticsearch 6.6 128MB
blacktop/elasticsearch 6.5 127MB
blacktop/elasticsearch 6.4 127MB
blacktop/elasticsearch 6.3 120MB
blacktop/elasticsearch 6.2 119MB
blacktop/elasticsearch 6.1 119MB
blacktop/elasticsearch 6.0 117MB
blacktop/elasticsearch 5.6 124MB
blacktop/elasticsearch 5.5 123MB
blacktop/elasticsearch 5.4 123MB
blacktop/elasticsearch 5.3 123MB
blacktop/elasticsearch x-pack 1.05GB
blacktop/elasticsearch 5.2 150MB
blacktop/elasticsearch 5.1 149MB
blacktop/elasticsearch 5.0 148.4MB
blacktop/elasticsearch 2.4 116MB
blacktop/elasticsearch kopf 122MB
blacktop/elasticsearch 2.3 139.1MB
blacktop/elasticsearch 1.7 142.7MB
$ docker run -d --name elastic -p 9200:9200 blacktop/elasticsearch
- To create an elasticsearch cluster
- To increase the HEAP_SIZE to 2GB
- To monitor the clusters metrics using dockerbeat
- To run in production
I have noticed when running the new 5.0+ version on a linux host you need to increase the memory map areas with the following command
sudo sysctl -w vm.max_map_count=262144
Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue
Heavily (if not entirely) influenced by https://github.com/docker-library/elasticsearch
Production docs from https://stefanprodan.com/2016/elasticsearch-cluster-with-docker/
MIT Copyright (c) 2016-2021 blacktop