# Setting Elasticsearch Docker container's timezone

**URL:** <https://discuss.elastic.co/t/setting-elasticsearch-docker-containers-timezone/88141>\
**Category:** Elasticsearch\
**Created:** [June 3, 2017, 12:58am UTC](https://discuss.elastic.co/t/setting-elasticsearch-docker-containers-timezone/88141 "2017-06-03T00:58:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_1](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@Steve\_1](https://discuss.elastic.co/u/Steve_1)\
**Post date:** [June 3, 2017, 12:58am UTC](https://discuss.elastic.co/t/setting-elasticsearch-docker-containers-timezone/88141/1 "2017-06-03T00:58:32Z")

</div>

What is the proper way to set Elasticsearch Docker container's timezone?

For Logstash it can be done with environment variable `-e TZ="timezone_name"` .  
But none of the options `-e TZ="timezone_name"` or `-e "TZ=timezone_name"` works for Elasticsearch.

---

<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:** [July 1, 2017, 12:58am UTC](https://discuss.elastic.co/t/setting-elasticsearch-docker-containers-timezone/88141/2 "2017-07-01T00:58:38Z")

</div>

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