Merge pull request #863 from wking/console-size-if-attached
config: Explicily make consoleSize unspecified if terminal is false or unset
This commit is contained in:
commit
239c4e44f2
|
@ -142,7 +142,8 @@ For Linux and Solaris based systems the mounts structure has the following field
|
||||||
|
|
||||||
* **`terminal`** (bool, OPTIONAL) specifies whether a terminal is attached to that process, defaults to false.
|
* **`terminal`** (bool, OPTIONAL) specifies whether a terminal is attached to that process, defaults to false.
|
||||||
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].
|
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].
|
||||||
* **`consoleSize`** (object, OPTIONAL) specifies the console size in characters of the terminal if attached, containing the following properties:
|
* **`consoleSize`** (object, OPTIONAL) specifies the console size in characters of the terminal.
|
||||||
|
Runtimes MUST ignore `consoleSize` if `terminal` is `false` or unset.
|
||||||
* **`height`** (uint, REQUIRED)
|
* **`height`** (uint, REQUIRED)
|
||||||
* **`width`** (uint, REQUIRED)
|
* **`width`** (uint, REQUIRED)
|
||||||
* **`cwd`** (string, REQUIRED) is the working directory that will be set for the executable.
|
* **`cwd`** (string, REQUIRED) is the working directory that will be set for the executable.
|
||||||
|
|
Loading…
Reference in New Issue