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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content