summaryrefslogtreecommitdiff
path: root/cmd/podman/common/create.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/common/create.go')
-rw-r--r--cmd/podman/common/create.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go
index ec3251ae1..bbe31d19f 100644
--- a/cmd/podman/common/create.go
+++ b/cmd/podman/common/create.go
@@ -5,7 +5,7 @@ import (
"os"
"github.com/containers/common/pkg/auth"
- "github.com/containers/libpod/cmd/podman/registry"
+ "github.com/containers/libpod/v2/cmd/podman/registry"
"github.com/spf13/pflag"
)
@@ -449,6 +449,11 @@ func GetCreateFlags(cf *ContainerCLIOpts) *pflag.FlagSet {
"tty", "t", false,
"Allocate a pseudo-TTY for container",
)
+ createFlags.StringVar(
+ &cf.Timezone,
+ "tz", containerConfig.TZ(),
+ "Set timezone in container",
+ )
createFlags.StringSliceVar(
&cf.UIDMap,
"uidmap", []string{},