Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

timezone issue with docker and bitbucket

jira guy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 6, 2019

Anyone else in the community using docker and bitbucket?

Docker images are great and easy to upgrade. But these images always come with UTC time. I was able to update the timezone with volume flag docker run -v /etc/timezone:/etc/timezone. Container timezone was mapped to my host time now. 

But my application logs atlassian-bitbucket.log still shows UTC time. Anyone able to fix this. 

1 answer

1 accepted

1 vote
Answer accepted
jira guy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 6, 2019

Nvm! Was able to fix by adding the JVM flag 

 

JVM_SUPPORT_RECOMMENDED_ARGS="-Duser.timezone=America/New_York"

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events