summaryrefslogtreecommitdiff
path: root/docs/podman-create.1.md
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2019-05-24 13:39:13 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2019-05-24 17:34:13 +0200
commit5eb321ac372f5c29f65769a4554ff224186ffb21 (patch)
tree261df1767d9763dad6da6ffb41488ef98b41670a /docs/podman-create.1.md
parentf09370c68b8b514aca80bfaa34f98fbc5b97d318 (diff)
downloadpodman-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 'docs/podman-create.1.md')
-rw-r--r--docs/podman-create.1.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/podman-create.1.md b/docs/podman-create.1.md
index 53f4c8fed..cbd6d9a99 100644
--- a/docs/podman-create.1.md
+++ b/docs/podman-create.1.md
@@ -730,7 +730,7 @@ Without this argument the command will be run as root in the container.
**--userns**=keep-id
**--userns**=ns:my_namespace
-Set the user namespace mode for the container. The use of userns is disabled by default.
+Set the user namespace mode for the container. It defaults to the **PODMAN_USERNS** environment variable. An empty value means user namespaces are disabled.
- `host`: run in the user namespace of the caller. This is the default if no user namespace options are set. The processes running in the container will have the same privileges on the host as any other process launched by the calling user.
- `keep-id`: creates a user namespace where the current rootless user's UID:GID are mapped to the same values in the container. This option is ignored for containers created by the root user.