Alpine Linux based Kibana Docker Image
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
4.6
5.0
5.1
5.2
5.3
5.4
5.5
5.6
6.0
6.1
6.2
6.3
6.4
docs
hack/make
x-pack
.gitignore
.travis.yml
CHANGELOG.md
LATEST
LICENSE
Makefile
README.md
docker-compose.prod.yml
docker-compose.yml
kibana-logo.png

README.md

kibana-logo

docker-kibana-alpine

CircleCI License Docker Stars Docker Pulls Docker Image

Alpine Linux based Kibana Docker Image

Table of Contents

Why?

Compare Image Sizes:

  • official kibana = 667MB
  • blacktop/kibana = 250MB

Alpine version is 417 MB smaller !

Dependencies

Image Tags

REPOSITORY          TAG                 SIZE
blacktop/kibana     latest              250MB
blacktop/kibana     6.4                 250MB
blacktop/kibana     6.3                 316MB
blacktop/kibana     6.2                 309MB
blacktop/kibana     6.1                 255MB
blacktop/kibana     6.0                 209MB
blacktop/kibana     5.6                 191MB
blacktop/kibana     5.5                 189MB
blacktop/kibana     5.4                 203MB
blacktop/kibana     5.3                 145MB
blacktop/kibana     x-pack              458MB
blacktop/kibana     5.2                 246MB
blacktop/kibana     5.1                 246MB
blacktop/kibana     5.0                 245.8MB
blacktop/kibana     4.6                 229.7MB

NOTE: tag x-pack is the same as tag latest, but includes the x-pack plugin.

Getting Started

$ docker run --init -d --name elasticsearch -p 9200:9200 blacktop/elasticsearch
$ docker run --init -d --name kibana --link elasticsearch -p 5601:5601 blacktop/kibana

Documentation

Customize at runtime via environment variables

There are two types of env vars:

  • KIBANA_ELASTICSEARCH_URL=http://localhost:9200
  • elasticsearch.url=http://localhost:9200

To use your own elasticsearch address via KIBANA_ELASTICSEARCH_URL

$ docker run --init -d --name kibana -e KIBANA_ELASTICSEARCH_URL=http://some-elasticsearch:9200 -p 5601:5601 blacktop/kibana

For elasticsearch running on a OSX host it would be

$ docker run --init -d --name kibana \
  -p 5601:5601 \
  --net host \
  -e KIBANA_ELASTICSEARCH_URL="http://$(ipconfig getifaddr en0):9200" \
  blacktop/kibana

For x-pack with basic auth:

$ docker run --init -d --name kibana \
             --restart unless-stopped \
             -p 443:5601 \
             -v /etc/letsencrypt/archive/demo.malice.io:/certs \
             -e KIBANA_SERVER_SSL_ENABLED=true \
             -e KIBANA_SERVER_SSL_KEY=/certs/privkey1.pem \
             -e KIBANA_SERVER_SSL_CERTIFICATE=/certs/cert1.pem \
             -e KIBANA_ELASTICSEARCH_URL=$KIBANA_ELASTICSEARCH_URL \
             -e KIBANA_ELASTICSEARCH_USERNAME=$KIBANA_ELASTICSEARCH_USERNAME \
             -e KIBANA_ELASTICSEARCH_PASSWORD=$KIBANA_ELASTICSEARCH_PASSWORD \
             blacktop/kibana:x-pack

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/kibana

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-2018 blacktop