Run Kibana in docker

Hi all,

I'm trying to run Kibana via docker but after loading Kibana page I get Status: Red due to:

  • plugin:xpack_main@5.1.1 X-Pack plugin is not installed on Elasticsearch cluster
  • plugin:profiler@5.1.1 X-Pack plugin is not installed on Elasticsearch cluster

I can't find anywhere how I disable these plugins.

My current config is:

elasticsearch:
image: xyz/elasticsearch:5.1.1
expose:
- 9200
ports:
- 9200:9200
environment:
- XPACK_SECURITY_ENABLED=false

kibana:
image: docker.elastic.co/kibana/kibana:5.1.1
environment:
- SERVER_NAME=localhost
- ELASTICSEARCH_URL=http://elasticsearch:9200
- ELASTICSEARCH_HOST=elasticsearch
- ELASTICSEARCH_PORT=9200
- XPACK_MONITORING_ENABLED=false
- XPACK_SECURITY_ENABLED=false
- XPACK_REPORTING_ENABLED=false
- XPACK_GRAPH_ENABLED=false
- XPACK_ML_ENABLED=false
- XPACK_WATCHER_ENABLED=false
ports:
- 5601:5601
expose:
- 5601
links:
- elasticsearch
depends_on:
- elasticsearch

Any ideas what I am missing?

@jarpy - can you please help ?

Cheers
Rashmi

I would really appreciate help with this issue :frowning:

I think the biggest issue here is the environment variable for Elasticsearch. The Elasticsearch image uses dotted, lower-case names for configuration variables, while Kibana supports the upper-case syntax (sorry about that).

Here's a working docker-compose.yml based on yours:

---
version: '3'

services:
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:5.1.1
    ports:
      - 9200:9200
    environment:
      # Elasticsearch uses dotted, lower-case environment variables.
      - xpack.security.enabled=false
    # "Links" are deprecated. Use "networks" instead.
    networks:
      - elastic

  kibana:
    image: docker.elastic.co/kibana/kibana:5.1.1
    environment:
      - SERVER_NAME=localhost
      - ELASTICSEARCH_URL=http://elasticsearch:9200
      - XPACK_MONITORING_ENABLED=false
      - XPACK_SECURITY_ENABLED=false
      - XPACK_REPORTING_ENABLED=false
      - XPACK_GRAPH_ENABLED=false
      - XPACK_ML_ENABLED=false
      - XPACK_WATCHER_ENABLED=false
    ports:
      - 5601:5601
    networks:
      - elastic

networks:
  elastic:
1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.