Skip to content

Commit 239c4e4

Browse files
Merge pull request #863 from wking/console-size-if-attached
config: Explicily make consoleSize unspecified if terminal is false or unset
2 parents 1ff127d + ed6c9ef commit 239c4e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ For Linux and Solaris based systems the mounts structure has the following field
142142

143143
* **`terminal`** (bool, OPTIONAL) specifies whether a terminal is attached to that process, defaults to false.
144144
As an example, if set to true on Linux a pseudoterminal pair is allocated for the container process and the pseudoterminal slave is duplicated on the container process's [standard streams][stdin.3].
145-
* **`consoleSize`** (object, OPTIONAL) specifies the console size in characters of the terminal if attached, containing the following properties:
145+
* **`consoleSize`** (object, OPTIONAL) specifies the console size in characters of the terminal.
146+
Runtimes MUST ignore `consoleSize` if `terminal` is `false` or unset.
146147
* **`height`** (uint, REQUIRED)
147148
* **`width`** (uint, REQUIRED)
148149
* **`cwd`** (string, REQUIRED) is the working directory that will be set for the executable.

0 commit comments

Comments
 (0)