Skip to content

Commit 6cc08c2

Browse files
Merge pull request #724 from q384566678/fix-configmd
config.md: format changes
2 parents d0a4271 + 7d4037b commit 6cc08c2

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

config.md

Lines changed: 14 additions & 14 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 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)
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].
@@ -355,18 +355,18 @@ Runtime implementations MAY support any valid values for platform-specific field
355355
Hooks allow for the configuration of custom actions related to the [lifecycle](runtime.md#lifecycle) of the container.
356356

357357
* **`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.
370370

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

0 commit comments

Comments
 (0)