Uploaded image for project: 'OpenShift Runtimes'
  1. OpenShift Runtimes
  2. RUN-1375

Make the podman run `--tz` option operable for java applications

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Undefined
    • None
    • None
    • None
    • 3
    • False
    • False
    • sst_container_tools
    • RUN 210

    Description

      As a user of java within a container, I want to be able to set the timezone in the container using the `podman run --tz` option.  This currently does not work for java applications.  Instead, the user must set the `TZ` in the container.  The `–tz`  option should work in the same manner, or at least set that environment variable to.  For instance, this command works:

       

      `podman run -ti --rm -e TZ=EST mytzimage`

       

      For more information, see https://bugzilla.redhat.com/show_bug.cgi?id=1984251 and https://github.com/containers/podman/pull/12373

      This should be completed for RHEL 8.6/Podman 4.0.

      Attachments

        Activity

          People

            ashley-cui Ashley Cui
            tsweeney@redhat.com Tom Sweeney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: