Skip to content

Commit 4066d59

Browse files
committed
Merge pull request opencontainers#214 from wking/hostname-uts-namespace
config: Require a new UTS namespace for config.json's hostname
2 parents 169b3d8 + 66a0543 commit 4066d59

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ For Linux-based systems the user structure has the following fields:
104104

105105
## Hostname
106106

107-
* **`hostname`** (string, optional) as it is accessible to processes running inside.
107+
* **`hostname`** (string, optional) as it is accessible to processes running inside. On Linux, you can only set this if your bundle creates a new [UTS namespace][uts-namespace].
108108

109109
*Example*
110110

@@ -126,3 +126,5 @@ For Linux-based systems the user structure has the following fields:
126126

127127
Interpretation of the platform section of the JSON file is used to find which platform-specific sections may be available in the document.
128128
For example, if `os` is set to `linux`, then a JSON object conforming to the [Linux-specific schema](config-linux.md) SHOULD be found at the key `linux` in the `config.json`.
129+
130+
[uts-namespace]: http://man7.org/linux/man-pages/man7/namespaces.7.html

0 commit comments

Comments
 (0)