Is it possible to create a docker-wide time zone setting for all containers running on a specific host?

I can’t think of one (as each container can be based on a myriad of OS types), but maybe I am overlooking something. Maybe there is an easy one than editing all compose files and/or run statements. E.g. setting a TZ environment variable that is used for all containers.

1 Like

I set time for my linux based container in this way:

                    - /etc/localtime:/etc/localtime:ro

Is it what you are looking for?