oracle-xe:21-slim-faststart - can I set timezone? #209
-
Hello, Is it always UTC or it takes TZone from docker/serwer? thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey Greg, Docker containers always run in UTC but you can set it simply by passing on the
This will make the container run in the Central European Time Zone:
Note the
Here is another example with Tokyo time:
Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hey Greg,
Docker containers always run in UTC but you can set it simply by passing on the
TZ
environment variable, for example:podman run --name test -p 1521:1521 -e TZ="Europe/Vienna" -e ORACLE_RANDOM_PASSWORD=y gvenzl/oracle-xe:21-slim-faststart
This will make the container run in the Central European Time Zone:
Note the
CEST
timezone above.