Skip to Content
Skip Breadcrumb

The default timezone in the container on OpenShift is New York time or UTC.

You can change the timezone to local timezone via the following command

oc env dc/<YOUR_DC> TZ=<YOUR_TIMEZONE>
#e. g.:
oc env dc/cakephp TZ=Europe/Vienna

When you use alpine images then please take a look into the link below how to set the time zone on this plattform.

Setting_the_timezone

You can take a look into my solution

https://github.com/git001/socat-udp-listen/blob/master/Dockerfile

You can contact me for any further questions and orders