# Running Kibana on Docker Swarm: Settings for "elasticsearch" were not applied

**URL:** https://discuss.elastic.co/t/running-kibana-on-docker-swarm-settings-for-elasticsearch-were-not-applied/101014
**Category:** Kibana
**Created:** [September 19, 2017, 11:42am UTC](https://discuss.elastic.co/t/running-kibana-on-docker-swarm-settings-for-elasticsearch-were-not-applied/101014 "2017-09-19T11:42:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![joe2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe2/32/22281_2.png) [@joe2](https://discuss.elastic.co/u/joe2)
#### Post date: [September 19, 2017, 11:42am UTC](https://discuss.elastic.co/t/running-kibana-on-docker-swarm-settings-for-elasticsearch-were-not-applied/101014/1 "2017-09-19T11:42:07Z")

</div>

I'm trying to get Kibana running on Docker Swarm using a compose file. I have a running Elasticsearch instance without XPack. I'm trying to just get the most vanilla installation running with minimal options.

My configuration looks like this:

```
services:
  kibana:
    image: docker.elastic.co/kibana/kibana:5.6.1
    deploy:
      mode: replicated
      replicas: 1
    ports:
      - "5601:5601"
    environment:
      SERVER_NAME: "My Kibana"
      XPACK_MONITORING_ENABLED: "false"
      XPACK_SECURITY_ENABLED: "false"
      ELASTICSEARCH_USERNAME: ""
      ELASTICSEARCH_PASSWORD: ""
      SERVER_PORT: "5601"
  ELASTICSEARCH_URL: http://10.0.5.10:9200

```

When I run this my logs show:

```
{"type":"log","@timestamp":"2017-09-19T11:30:56Z",
 "tags":["warning","config"],"pid":1,
 "message":"Settings for \"elasticsearch\" were not applied, check for spelling errors and ensure the plugin is loaded."}
{"type":"log","@timestamp":"2017-09-19T11:30:56Z",
 "tags":["warning","config"],"pid":1,
 "message":"Settings for \"xpack\" were not applied, check for spelling errors and ensure the plugin is loaded."}
{"type":"log","@timestamp":"2017-09-19T11:30:56Z",
 "tags":["listening","info"],"pid":1,
 "message":"Server running at http://localhost:5601"}
{"type":"log","@timestamp":"2017-09-19T11:30:56Z",
 "tags":["status","ui settings","error"],"pid":1,"state":"red",
 "message":"Status changed from uninitialized to red - UI Settings requires the elasticsearch plugin","prevState":"uninitialized","prevMsg":"uninitialized"}

```

When I visit the web app I get:

```
{
    "statusCode": 404,
    "error": "Not Found",
    "message": "Unknown app kibana"
}

```

I can't find many references to these error messages.

Per [Running Kibana on Docker | Kibana User Guide [5.6] | Elastic](https://www.elastic.co/guide/en/kibana/5.6/docker.html)

> X-Pack is pre-installed in this image. With X-Pack installed, Kibana expects to connect to an Elasticsearch cluster that is also running X-Pack.

But I'd hoped I could disable it. In any case, I'm not sure if this is pertinent to the first log error message.

Am I doing something wrong? Should I expect Kibana actually run on Docker out of the box without Xpack?

---

<div class="post-metadata">

### Author: ![joe2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe2/32/22281_2.png) [@joe2](https://discuss.elastic.co/u/joe2)
#### Post date: [September 19, 2017, 2:03pm UTC](https://discuss.elastic.co/t/running-kibana-on-docker-swarm-settings-for-elasticsearch-were-not-applied/101014/2 "2017-09-19T14:03:45Z")

</div>

Per this Github issue, other people are having problems using the official Docker image.

> <https://github.com/elastic/kibana-docker/issues/27>

I was able to get the deprecated Docker Hub Docker image working:  
[https://hub.docker.com/r/library/kibana/](https://hub.docker.com/r/library/kibana/)

---

<div class="post-metadata">

### Author: ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)
#### Post date: [September 20, 2017, 6:54pm UTC](https://discuss.elastic.co/t/running-kibana-on-docker-swarm-settings-for-elasticsearch-were-not-applied/101014/3 "2017-09-20T18:54:39Z")

</div>

The Github issue you linked to has a workaround, which is to create your own custom image: [https://github.com/elastic/kibana-docker/issues/27#issuecomment-296524205](https://github.com/elastic/kibana-docker/issues/27#issuecomment-296524205)

Essentially, the image is composed starting with the official image, but then un-installing the X-Pack plugin from Kibana.

If you're still having issues, I would recommend taking the discussion to that Github issue - it looks like that's the go-to issue.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 18, 2017, 6:54pm UTC](https://discuss.elastic.co/t/running-kibana-on-docker-swarm-settings-for-elasticsearch-were-not-applied/101014/4 "2017-10-18T18:54:49Z")

</div>

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