How can a container's timezone be set?

Solution Unverified - Updated -

Issue

  • How to set a different timezone than the host for a container?
  • How to set timezone in a docker container?
  • Can the timezone on the container be set to EST while the timezone of the host system is in PST ?
  • Timezone of the container changed from EST to UTC

Environment

  • Red Hat Enterprise Linux 7
  • RHEL Platform images based on RHEL
  • Openshift container images

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.