Alpine Linux based Elasticsearch Docker Image
Table of Contents
Compare Image Sizes:
- official elasticsearch = 791.6 MB
- stevensrtw/elasticsearch = 416 MB
version is 518 MB smaller !
REPOSITORY TAG SIZE
stevensrtw/elasticsearch-7.17.18 latest 416MB
$ docker run -d --name elastic -p 9200:9200 stevensrtw/elasticsearch-7.17.18
- 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-2022 stevensrtw