Kibana Docker

Page last updated:


With Docker you can easily push Kibana as an App to manage your Elasticsearch instance.

Step by Step Guide

This section describes how to setup your Kibana-instance in Cloud Foundry using the official Docker image from Elastic.


Before you can set up Kibana, you need an Elasticsearch-service. - Elasticsearch

Create the manifest.yml

Create a manifest.yml in an empty folder according to the following example to configure your Kibana.

  - name: mykibana
    memory: 2G
    disk_quota: 2G
    instances: 1
      - route:
        - my-elasticsearch
    command: |
      export ELASTICSEARCH_HOSTS=$(echo $VCAP_SERVICES | grep -Po '"host":\s"\K(.*?)(?=")') &&
      export ELASTICSEARCH_USERNAME=$(echo $VCAP_SERVICES | grep -Po '"kibana_system_username":\s"\K(.*?)(?=")') &&
      export ELASTICSEARCH_PASSWORD=$(echo $VCAP_SERVICES | grep -Po '"kibana_system_password":\s"\K(.*?)(?=")') &&
      /bin/tini -- /usr/local/bin/kibana-docker

Use ELASTICSEARCH_URL instead of ELASTICSEARCH_HOSTS, if you are using version 6.x of Kibana.

Push the Docker container as usual with cf push. Then access it via the configured route using the full-access-user.

Next Step

If your access works properly, you may continue with setting up your Index Lifecycle Management

Further reading

Official Kibana Documentation

View the source for this page in GitHub