September 28, 2025Sep 28 I am trying to create a first Docker user template, for s1t5/mail-archiver. One of the variables is the timezone, TZ identifier. I was wondering if the server's timezone could be pushed to the container? So the user does not have to type it in manually.Thanks in advance for any pointers.
September 28, 2025Sep 28 Community Expert 39 minutes ago, Emphyrio said:I was wondering if the server's timezone could be pushed to the container?It already is by default.
September 28, 2025Sep 28 Author Is there any documentation about this? How can the container developer pick it up?
September 28, 2025Sep 28 Community Expert Solution The standard TZ variable. As you can see anytime a container is added/edited the run command contains it.If they decided to require a different variable then I'm not sure how to reference the existing one. Edited September 28, 2025Sep 28 by Kilrah
September 28, 2025Sep 28 Community Expert 8 minutes ago, Emphyrio said:Is there any documentation about this? How can the container developer pick it up?you install the package tzdata into the image and thats itEdit: (just to mention it for completenes sake, unraid passes as TZ whatever your timezone on the server is set on) Edited September 28, 2025Sep 28 by Mainfrezzer
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.