summaryrefslogtreecommitdiff
path: root/docs/source/markdown
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-23 12:25:22 -0700
committerGitHub <noreply@github.com>2021-03-23 12:25:22 -0700
commitae1529ca191d4ab4d010703729c0ff656cc44276 (patch)
tree352132f6437833a8d94d4313e7ed1b58d4427258 /docs/source/markdown
parent4d3e71ad28f75b51dc5fa7a29775ce30c9d5c437 (diff)
parentfb628e32f47360f94d8b918b2173836d62978b8a (diff)
downloadpodman-ae1529ca191d4ab4d010703729c0ff656cc44276.tar.gz
podman-ae1529ca191d4ab4d010703729c0ff656cc44276.tar.bz2
podman-ae1529ca191d4ab4d010703729c0ff656cc44276.zip
Merge pull request #9774 from TomSweeneyRedHat/dev/tsweeney/usrns_man
[CI:DOCS] Add note to mappings for user/group userns in build
Diffstat (limited to 'docs/source/markdown')
-rw-r--r--docs/source/markdown/podman-build.1.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-build.1.md b/docs/source/markdown/podman-build.1.md
index 24093d414..8fcfe555e 100644
--- a/docs/source/markdown/podman-build.1.md
+++ b/docs/source/markdown/podman-build.1.md
@@ -650,6 +650,10 @@ If --userns-gid-map-group is specified, but --userns-uid-map-user is not
specified, `podman` will assume that the specified group name is also a
suitable user name to use as the default setting for this option.
+**NOTE:** When this option is specified by a rootless user, the specified
+mappings are relative to the rootless usernamespace in the container, rather
+than being relative to the host as it would be when run rootful.
+
#### **--userns-gid-map-group**=*group*
Specifies that a GID mapping which should be used to set ownership, at the
@@ -661,6 +665,10 @@ If --userns-uid-map-user is specified, but --userns-gid-map-group is not
specified, `podman` will assume that the specified user name is also a
suitable group name to use as the default setting for this option.
+**NOTE:** When this option is specified by a rootless user, the specified
+mappings are relative to the rootless usernamespace in the container, rather
+than being relative to the host as it would be when run rootful.
+
#### **--uts**=*how*
Sets the configuration for UTS namespaces when the handling `RUN` instructions.