# \[Docker\] Documentation in https://github.com/elastic/stack-docker

**URL:** <https://discuss.elastic.co/t/docker-documentation-in-https-github-com-elastic-stack-docker/169537>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [February 22, 2019, 9:02am UTC](https://discuss.elastic.co/t/docker-documentation-in-https-github-com-elastic-stack-docker/169537 "2019-02-22T09:02:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmonjas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mmonjas/32/22214_2.png) [@mmonjas](https://discuss.elastic.co/u/mmonjas)\
**Post date:** [February 22, 2019, 9:02am UTC](https://discuss.elastic.co/t/docker-documentation-in-https-github-com-elastic-stack-docker/169537/1 "2019-02-22T09:02:00Z")

</div>

Hi there, I'm trying to use the Docker ensemble described in said github repo and I've finding several issues I'm not sure about how to sort out (I have a background in ES 5.6 and now am trying to catch up with the new versions).

Issues I've found (or not able how to sort out):

- The first operation to setup containers (`docker-compose -f setup.yml up`) should be followed, once finished, by an operation to stop and remove containers, as the `elasticsearch` and `kibana` containers keep on running. Right?
- The setup operation fails for the APM Server:

```auto
setup_1_5cb909d3bb8f | setup_apm_server | Exiting: fail to create the 
Kibana loader: Error creating Kibana client: Error creating Kibana client: fail to 
get the Kibana version: HTTP GET request to /api/status fails: <nil>. Response: 
{"statusCode":409,"error":"Conflict","message":"[doc][config:6.6.0]: version 
conflict, document already exists (current version [1]): 
[version_conflict_engine_exception] [doc][config:6.6.0]: version conflict, 
document already exists (current version ... (truncated).
setup_1_5cb909d3bb8f | setup_apm_server exited with code 1

```

- Obviously, when the ensemble is run again (`docker-compose up -d`), once of the containers fails to start:

```auto
ERROR: for apm-server Cannot create container for service apm-server: 
invalid mount config for type "bind": bind source path does not exist: 
/home/ubuntu/Projects/stack-docker/config/apm-server/apm-server.keystore

```

Finally, some practical issues:

- May I change the configuration (for instance, for disabling the X-Pack) once the setup process has been run. That is, may I update the elasticsearch.yml file whenever I start the whole Docker ensemble?
- If I wish to run just some of the services, may I simple select them when running Docker Compose or should I skip them at setup as well?

Thanks

// M.A. Monjas

---

<div class="post-metadata">

**Author:** ![meselaben](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/meselaben/32/41639_2.png) [@meselaben](https://discuss.elastic.co/u/meselaben)\
**Post date:** [March 6, 2019, 7:20pm UTC](https://discuss.elastic.co/t/docker-documentation-in-https-github-com-elastic-stack-docker/169537/2 "2019-03-06T19:20:29Z")

</div>

I just had same issue. Did you find any solution?

---

<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:** [April 3, 2019, 7:20pm UTC](https://discuss.elastic.co/t/docker-documentation-in-https-github-com-elastic-stack-docker/169537/3 "2019-04-03T19:20:34Z")

</div>

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