Skip to content

Commit 79afbeb

Browse files
author
zhouhao
committed
confif.md: format changes
Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>
1 parent 4badf7f commit 79afbeb

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

config.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ For Windows, see [mountvol][mountvol] and [SetVolumeMountPoint][set-volume-mount
125125
* **`terminal`** (bool, OPTIONAL) specifies whether a terminal is attached to that process, defaults to false.
126126
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].
127127
* **`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)
130130
* **`cwd`** (string, REQUIRED) is the working directory that will be set for the executable.
131131
This value MUST be an absolute path.
132132
* **`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
350350
Hooks allow for the configuration of custom actions related to the [lifecycle](runtime.md#lifecycle) of the container.
351351

352352
* **`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.
364364

365365
Hooks allow users to specify programs to run before or after various lifecycle events.
366366
Hooks MUST be called in the listed order.

0 commit comments

Comments
 (0)