# Keystore and docker

**URL:** <https://discuss.elastic.co/t/keystore-and-docker/124618>\
**Category:** Elasticsearch\
**Created:** [March 19, 2018, 5:29pm UTC](https://discuss.elastic.co/t/keystore-and-docker/124618 "2018-03-19T17:29:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mitchellmaler](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@mitchellmaler](https://discuss.elastic.co/u/mitchellmaler)\
**Post date:** [March 19, 2018, 5:29pm UTC](https://discuss.elastic.co/t/keystore-and-docker/124618/1 "2018-03-19T17:29:04Z")

</div>

Hello I am getting started with using Docker for our elasticsearch cluster but when I use the truststore.password I get the warning about the deprecation. I think the reason for this is to move users over to the keystore but what is the best practice with using that and docker?

Right now the containers pull their settings from the docker-compose environment variables and have the data mount point on the host.

---

<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 16, 2018, 5:29pm UTC](https://discuss.elastic.co/t/keystore-and-docker/124618/2 "2018-04-16T17:29:19Z")

</div>

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