Skip to main content

Which Timezone

Many Docker Container compose files ask for your timezone, with something like "TZ = " or "TZ:"

If you are not sure of your timezone as regards to Linux and/or Docker nomenclature, you may be able to find it with the following command on the terminal of your device:

timedatectl

when I use this on my minipc, I receive the following output:

Screenshot 2025-05-08 142013.png

From that output, I can see my TZ = America/Santo_Domingo.

Now above, I wrote you 'may' find your TZ this way.

It could be that you will be surprised to find your timezone is wrong or the command may not work at all (as per my Synology which does not have systemd installed).

If your timezone is wrong, you may consider correcting it, by using the command below (and following the instructions):

tzselect

You could also try:

timedatectl list-timezones

This will give you a never-ending list of timezones to scroll through. Be sure to use Ctrl-Z to get out of the list when you find your timezone.

If there is no output at all, you can always use the appropriate timezone displayed in the following link:

List_of_tz_database_time_zones

Just be sure to use the TZ identifier column code for your compose file.