diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-05-24 13:39:13 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-05-24 17:34:13 +0200 |
commit | 5eb321ac372f5c29f65769a4554ff224186ffb21 (patch) | |
tree | 261df1767d9763dad6da6ffb41488ef98b41670a /cmd/podman | |
parent | f09370c68b8b514aca80bfaa34f98fbc5b97d318 (diff) | |
download | podman-5eb321ac372f5c29f65769a4554ff224186ffb21.tar.gz podman-5eb321ac372f5c29f65769a4554ff224186ffb21.tar.bz2 podman-5eb321ac372f5c29f65769a4554ff224186ffb21.zip |
podman: honor env variable PODMAN_USERNS
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/common.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common.go b/cmd/podman/common.go index 5e26d9bfd..054b01247 100644 --- a/cmd/podman/common.go +++ b/cmd/podman/common.go @@ -517,7 +517,7 @@ func getCreateFlags(c *cliconfig.PodmanCommand) { "Username or UID (format: <name|uid>[:<group|gid>])", ) createFlags.String( - "userns", "", + "userns", os.Getenv("PODMAN_USERNS"), "User namespace to use", ) createFlags.String( |