mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Merge pull request #6836 from ashley-cui/tzlibpod
Add --tz flag to create, run
This commit is contained in:
@ -135,6 +135,10 @@ func createContainerOptions(ctx context.Context, rt *libpod.Runtime, s *specgen.
|
||||
options = append(options, libpod.WithStdin())
|
||||
}
|
||||
|
||||
if s.Timezone != "" {
|
||||
options = append(options, libpod.WithTimezone(s.Timezone))
|
||||
}
|
||||
|
||||
useSystemd := false
|
||||
switch s.Systemd {
|
||||
case "always":
|
||||
|
Reference in New Issue
Block a user