Skip to content

Commit 303c03a

Browse files
committed
Merge pull request #412 from wking/explicit-uid-namespace
config: Explicit container namespace for uid, gid, and additionalGids
2 parents 08c556f + 08908d6 commit 303c03a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

config.md

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

114114
For Linux and Solaris based systems the user structure has the following fields:
115115

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

120120
_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)_
121121

@@ -674,6 +674,7 @@ Here is a full example `config.json` for reference.
674674
}
675675
```
676676

677+
[container-namespace]: glossary.md#container-namespace
678+
[go-environment]: https://golang.org/doc/install/source#environment
677679
[runtime-namespace]: glossary.md#runtime-namespace
678680
[uts-namespace]: http://man7.org/linux/man-pages/man7/namespaces.7.html
679-
[go-environment]: https://golang.org/doc/install/source#environment

0 commit comments

Comments
 (0)