mirror of
https://github.com/containers/podman.git
synced 2025-06-25 20:26:51 +08:00
Add --tz flag to create, run
--tz flag sets timezone inside container Can be set to IANA timezone as well as `local` to match host machine Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
@ -135,6 +135,9 @@ type ContainerBasicConfig struct {
|
||||
// passed will be 3 + PreserveFDs.
|
||||
// set tags as `json:"-"` for not supported remote
|
||||
PreserveFDs uint `json:"-"`
|
||||
// Timezone is the timezone inside the container.
|
||||
// Local means it has the same timezone as the host machine
|
||||
Timezone string `json:"timezone,omitempty"`
|
||||
}
|
||||
|
||||
// ContainerStorageConfig contains information on the storage configuration of a
|
||||
|
Reference in New Issue
Block a user