Skip to content

Commit

Permalink
Merge pull request #863 from wking/console-size-if-attached
Browse files Browse the repository at this point in the history
config: Explicily make consoleSize unspecified if terminal is false or unset
  • Loading branch information
crosbymichael authored Jun 1, 2017
2 parents 1ff127d + ed6c9ef commit 239c4e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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)
* **`width`** (uint, REQUIRED)
* **`cwd`** (string, REQUIRED) is the working directory that will be set for the executable.
Expand Down

0 comments on commit 239c4e4

Please sign in to comment.