You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.md
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -125,8 +125,8 @@ For Windows, see [mountvol][mountvol] and [SetVolumeMountPoint][set-volume-mount
125
125
***`terminal`** (bool, OPTIONAL) specifies whether a terminal is attached to that process, defaults to false.
126
126
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].
127
127
***`consoleSize`** (object, OPTIONAL) specifies the console size in characters of the terminal if attached, containing the following properties:
128
-
***`height`** (uint, REQUIRED)
129
-
***`width`** (uint, REQUIRED)
128
+
***`height`** (uint, REQUIRED)
129
+
***`width`** (uint, REQUIRED)
130
130
***`cwd`** (string, REQUIRED) is the working directory that will be set for the executable.
131
131
This value MUST be an absolute path.
132
132
***`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1].
@@ -355,18 +355,18 @@ Runtime implementations MAY support any valid values for platform-specific field
355
355
Hooks allow for the configuration of custom actions related to the [lifecycle](runtime.md#lifecycle) of the container.
356
356
357
357
***`hooks`** (object, OPTIONAL) MAY contain any of the following properties:
358
-
***`prestart`** (array of objects, OPTIONAL) is an array of [pre-start hooks](#prestart).
359
-
Entries in the array contain the following properties:
360
-
***`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001 `execv`'s *path*][ieee-1003.1-2001-xsh-exec].
361
-
This specification extends the IEEE standard in that **`path`** MUST be absolute.
362
-
***`args`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001 `execv`'s *argv*][ieee-1003.1-2001-xsh-exec].
363
-
***`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1].
364
-
***`timeout`** (int, OPTIONAL) is the number of seconds before aborting the hook.
365
-
If set, `timeout` MUST be greater than zero.
366
-
***`poststart`** (array of objects, OPTIONAL) is an array of [post-start hooks](#poststart).
367
-
Entries in the array have the same schema as pre-start entries.
368
-
***`poststop`** (array of objects, OPTIONAL) is an array of [post-stop hooks](#poststop).
369
-
Entries in the array have the same schema as pre-start entries.
358
+
***`prestart`** (array of objects, OPTIONAL) is an array of [pre-start hooks](#prestart).
359
+
Entries in the array contain the following properties:
360
+
* **`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001 `execv`'s *path*][ieee-1003.1-2001-xsh-exec].
361
+
This specification extends the IEEE standard in that **`path`** MUST be absolute.
362
+
* **`args`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001 `execv`'s *argv*][ieee-1003.1-2001-xsh-exec].
363
+
* **`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1].
364
+
* **`timeout`** (int, OPTIONAL) is the number of seconds before aborting the hook.
365
+
If set, `timeout` MUST be greater than zero.
366
+
***`poststart`** (array of objects, OPTIONAL) is an array of [post-start hooks](#poststart).
367
+
Entries in the array have the same schema as pre-start entries.
368
+
***`poststop`** (array of objects, OPTIONAL) is an array of [post-stop hooks](#poststop).
369
+
Entries in the array have the same schema as pre-start entries.
370
370
371
371
Hooks allow users to specify programs to run before or after various lifecycle events.
0 commit comments