Skip to content

Commit 9348822

Browse files
committed
config: Explicit container namespace for uid, gid, and additionalGids
In the degenerate case where the container does not create a user namespace, the "container namespace" distinction is unimportant, but the phrasing is still accurate (the container and runtime namespaces are the same). Signed-off-by: W. Trevor King <[email protected]>
1 parent e5e603f commit 9348822

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ The user for the process is a platform-specific structure that allows specific c
112112

113113
For Linux-based systems the user structure has the following fields:
114114

115-
* **`uid`** (int, required) specifies the user id.
116-
* **`gid`** (int, required) specifies the group id.
117-
* **`additionalGids`** (array of ints, optional) specifies additional group ids to be added to the process.
115+
* **`uid`** (int, required) specifies the user ID in the [container namespace][container-namespace].
116+
* **`gid`** (int, required) specifies the group ID in the [container namespace][container-namespace].
117+
* **`additionalGids`** (array of ints, optional) specifies additional group IDs (in the [container namespace][container-namespace]) to be added to the process.
118118

119119
_Note: symbolic name for uid and gid, such as uname and gname respectively, are left to upper levels to derive (i.e. `/etc/passwd` parsing, NSS, etc)_
120120

@@ -615,5 +615,5 @@ Here is a full example `config.json` for reference.
615615
}
616616
```
617617

618-
618+
[container-namespace]: glossary#container-namespace
619619
[uts-namespace]: http://man7.org/linux/man-pages/man7/namespaces.7.html

0 commit comments

Comments
 (0)