/docker-elasticsearch-alpine

Alpine Linux based Elasticsearch Docker Image

Primary LanguageShellMIT LicenseMIT

es-logo

docker-elasticsearch-alpine

CircleCI License Docker Stars Docker Pulls Docker Image

Alpine Linux based Elasticsearch Docker Image

Table of Contents

Why?

Compare Image Sizes:

  • official elasticsearch = 574 MB
  • blacktop/elasticsearch = 119 MB

blacktop version is 455 MB smaller !

Dependencies

Image Tags

REPOSITORY               TAG                 SIZE
blacktop/elasticsearch   latest              358MB
blacktop/elasticsearch   7.2                 358MB
blacktop/elasticsearch   7.1                 304MB
blacktop/elasticsearch   7.0                 304MB
blacktop/elasticsearch   6.8                 192MB
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

Getting Started

$ docker run -d --name elastic -p 9200:9200 blacktop/elasticsearch

Documentation

Known Issues ⚠️

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

Issues

Find a bug? Want more features? Find something missing in the documentation? Let me know! Please don't hesitate to file an issue

Credits

Heavily (if not entirely) influenced by https://github.com/docker-library/elasticsearch
Production docs from https://stefanprodan.com/2016/elasticsearch-cluster-with-docker/

CHANGELOG

See CHANGELOG.md

Contributing

See all contributors on GitHub.

Please update the CHANGELOG.md and submit a Pull Request on GitHub.

License

MIT Copyright (c) 2016-2019 blacktop