Merge pull request #6836 from ashley-cui/tzlibpod

Add --tz flag to create, run
This commit is contained in:
OpenShift Merge Robot
2020-07-06 13:28:20 -04:00
committed by GitHub
17 changed files with 197 additions and 0 deletions

View File

@ -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":