How to set the timezone for docker container

How to set the timezone for the Java environment

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

This article only applies to Atlassian's docker. Learn more about the Atlassian docker here.


The timezone value in Atlassian docker container by default is GMT, however, it is possible to alter this default by passing an additional parameter to the container with -e TZ=<TIMEZONE>.


Here is the Confluence example setting:

docker run \
--name="confluence" -d \
-p 8090:8090 \
-p 8091:8091 \
-v ~/confluence-home/confluence-docker:/var/atlassian/application-data/confluence \
-e TZ=Australia/Brisbane \
atlassian/confluence-server \

(info) Normally this command is run as one line.

The List of TZ Database Time Zones documentation on Wikipedia contains further information on the different Timezones that can be set

How to set the timezone for Confluence docker container
ProductConfluence, Jira
Last modified on Oct 3, 2019

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.