Why does docker spin up containers with a timezone different than what I've set in Unraid, and how to I change the timezone in a container?


007craft

Recommended Posts

I set my Unraid to be PDT time.  I run the date command from the unraid console and it shows PDT time.  Great

But when I start a new docker app and open the docker container, its always on UTC time.  How do I change the time to PDT?  I tried adding a custom variable TZ with a value of America/Vancouver in the unraid application templates but it doesnt work.  The docker container remains UTC when I run the date command.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.