Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to pass server timezone to Docker container

Featured Replies

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.

Solved by Kilrah

  • 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.

  • Author

Is there any documentation about this? How can the container developer pick it up?

  • Community Expert
  • Solution

The standard TZ variable. As you can see anytime a container is added/edited the run command contains it.

image.png

If they decided to require a different variable then I'm not sure how to reference the existing one.

Edited by Kilrah

  • 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 it

Edit: (just to mention it for completenes sake, unraid passes as TZ whatever your timezone on the server is set on)

Edited by Mainfrezzer

  • Author

Thanks people, I passed the information along.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.