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
+13-13Lines changed: 13 additions & 13 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 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].
@@ -350,17 +350,17 @@ Implementations MUST error out when invalid values are encountered and MUST gene
350
350
Hooks allow for the configuration of custom actions related to the [lifecycle](runtime.md#lifecycle) of the container.
351
351
352
352
***`hooks`** (object, OPTIONAL) MAY contain any of the following properties:
353
-
***`prestart`** (array, OPTIONAL) is an array of [pre-start hooks](#prestart).
354
-
Entries in the array contain the following properties:
355
-
***`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001 `execv`'s *path*][ieee-1003.1-2001-xsh-exec].
356
-
This specification extends the IEEE standard in that **`path`** MUST be absolute.
357
-
***`args`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001 `execv`'s *argv*][ieee-1003.1-2001-xsh-exec].
358
-
***`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1].
359
-
***`timeout`** (int, OPTIONAL) is the number of seconds before aborting the hook.
360
-
***`poststart`** (array, OPTIONAL) is an array of [post-start hooks](#poststart).
361
-
Entries in the array have the same schema as pre-start entries.
362
-
***`poststop`** (array, OPTIONAL) is an array of [post-stop hooks](#poststop).
363
-
Entries in the array have the same schema as pre-start entries.
353
+
***`prestart`** (array, OPTIONAL) is an array of [pre-start hooks](#prestart).
354
+
Entries in the array contain the following properties:
355
+
* **`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001 `execv`'s *path*][ieee-1003.1-2001-xsh-exec].
356
+
This specification extends the IEEE standard in that **`path`** MUST be absolute.
357
+
* **`args`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001 `execv`'s *argv*][ieee-1003.1-2001-xsh-exec].
358
+
* **`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1].
359
+
* **`timeout`** (int, OPTIONAL) is the number of seconds before aborting the hook.
360
+
***`poststart`** (array, OPTIONAL) is an array of [post-start hooks](#poststart).
361
+
Entries in the array have the same schema as pre-start entries.
362
+
***`poststop`** (array, OPTIONAL) is an array of [post-stop hooks](#poststop).
363
+
Entries in the array have the same schema as pre-start entries.
364
364
365
365
Hooks allow users to specify programs to run before or after various lifecycle events.
0 commit comments