Docker Community Forums

Share and learn in the Docker community.

Container Incorrect TimeZone after running Pipiline in DevOPS

OS Version/build

Debian 10

App version

Docker version 19.03.8

Expected behavior

Correct TimeZone, of same as Linux Host

Actual behavior

Default TimeZone (UTC)

Steps to reproduce the behavior

After a new release and the pipeline runs on the docker machine. The new container version has a default TimeZone configured.


By login into the Container we can change the TimeZone manually.

Wanted fix

How to set the TimeZone, in the Dockerfile or as an Executable parameter in our Pipeline in DevOPS.