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
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,8 +133,8 @@ For Solaris, the mount entry corresponds to the 'fs' resource in the [zonecfg(1M
133
133
***`width`** (uint, REQUIRED)
134
134
***`cwd`** (string, REQUIRED) is the working directory that will be set for the executable.
135
135
This value MUST be an absolute path.
136
-
***`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1].
137
-
***`args`** (array of strings, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001`execvp`'s *argv*][ieee-1003.1-2001-xsh-exec].
136
+
***`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2008's `environ`][ieee-1003.1-2008-xbd-c8.1].
137
+
***`args`** (array of strings, REQUIRED) with similar semantics to [IEEE Std 1003.1-2008`execvp`'s *argv*][ieee-1003.1-2008-xsh-exec].
138
138
This specification extends the IEEE standard in that at least one entry is REQUIRED, and that entry is used with the same semantics as `execvp`'s *file*.
139
139
***`capabilities`** (object, OPTIONAL) is an object containing arrays that specifies the sets of capabilities for the process(es) inside the container. Valid values are platform-specific. For example, valid values for Linux are defined in the [capabilities(7)][capabilities.7] man page, such as `CAP_CHOWN`. Any value which cannot be mapped to a relevant kernel interface MUST cause an error.
140
140
capabilities contains the following properties:
@@ -361,10 +361,10 @@ Hooks allow for the configuration of custom actions related to the [lifecycle](r
361
361
***`hooks`** (object, OPTIONAL) MAY contain any of the following properties:
362
362
***`prestart`** (array of objects, OPTIONAL) is an array of [pre-start hooks](#prestart).
363
363
Entries in the array contain the following properties:
364
-
* **`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2001`execv`'s *path*][ieee-1003.1-2001-xsh-exec].
364
+
* **`path`** (string, REQUIRED) with similar semantics to [IEEE Std 1003.1-2008`execv`'s *path*][ieee-1003.1-2008-functions-exec].
365
365
This specification extends the IEEE standard in that **`path`** MUST be absolute.
366
-
* **`args`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001`execv`'s *argv*][ieee-1003.1-2001-xsh-exec].
367
-
* **`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2001's `environ`][ieee-1003.1-2001-xbd-c8.1].
366
+
* **`args`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2008`execv`'s *argv*][ieee-1003.1-2008-functions-exec].
367
+
* **`env`** (array of strings, OPTIONAL) with the same semantics as [IEEE Std 1003.1-2008's `environ`][ieee-1003.1-2008-xbd-c8.1].
368
368
* **`timeout`** (int, OPTIONAL) is the number of seconds before aborting the hook.
369
369
If set, `timeout` MUST be greater than zero.
370
370
***`poststart`** (array of objects, OPTIONAL) is an array of [post-start hooks](#poststart).
@@ -839,8 +839,8 @@ Here is a full example `config.json` for reference.
0 commit comments