TZ environment variable not respected in rhel7-atomic and rhel7-minimal container images
Issue
After setting TZ
environment variable, timezone and time are still not show correctly inside container:
# docker run --rm -it -e 'TZ=America/New_York' registry.access.redhat.com/rhel7-atomic /bin/bash
bash-4.2# date
Wed Jan 9 22:35:54 America 2019 #<--- Expected to see EST or EDT.
Environment
- Red Hat OpenShift Container Platform
- 3.x
- Red Hat Enterprise Linux Atomic Host
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.