This repository contains a Dockerfile of Kibana for Docker.
-
Install Docker.
-
Download automated build from public Docker Hub Registry:
docker pull sxoded/kibana4
alternatively, you can build an image from Dockerfile:
docker build -t="sxoded/kibana4" github.com/sxoded/kibana4
)
docker run -d --link <your_es_container_name>:es -p 9292:9292 sxoded/kibana4
- the default config file uses port 9292 for the web interface
- the web interface is served by nginx using a reverse proxy
-
Create a mountable configuration directory
<config-dir>
on the host. -
Create config file at
<config-dir>/kibana.yml
(this following is the default):
port: 5601
host: "localhost"
elasticsearch_url: "http://ES_HOST:9200"
elasticsearch_preserve_host: true
kibana_index: ".kibana"
default_app_id: "discover"
request_timeout: 300000
shard_timeout: 0
verify_ssl: false
bundled_plugin_ids:
- plugins/dashboard/index
- plugins/discover/index
- plugins/doc/index
- plugins/kibana/index
- plugins/markdown_vis/index
- plugins/metric_vis/index
- plugins/settings/index
- plugins/table_vis/index
- plugins/vis_types/index
- plugins/visualize/index
- Start a container by mounting data directory and specifying the custom configuration file:
docker run -d --link <your_es_container_name>:es -p 9292:9292 sxoded/kibana4 -v <config-dir> sxoded/kibana4