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
Clarifying the language from 28e8f68 (Hooks to linux,solaris and doc
clarification, 2017-05-24, opencontainers#855), which did not say which platforms
support hooks and which don't. Without something like this commit,
there's no clear way for config authors to know if their runtime will
support hooks or not, and there was previous agreement that that sort
of ambiguity was not helpful [1]. This also gives normative Markdown
grounding for the Go platform tag added in 28e8f68.
[1]: opencontainers#472 (comment)
Signed-off-by: W. Trevor King <[email protected]>
Copy file name to clipboardExpand all lines: config.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -362,9 +362,9 @@ Runtime implementations MAY support any valid values for platform-specific field
362
362
}
363
363
```
364
364
365
-
## <aname="configHooks" />Hooks
365
+
## <aname="configHooks" />Linux and Solaris Hooks
366
366
367
-
Hooks allow for the configuration of custom actions related to the [lifecycle](runtime.md#lifecycle) of the container if supported by the platform.
367
+
For Linux- and Solaris-based systems, the configuration structure supports `hooks` for configuring custom actions related to the [lifecycle](runtime.md#lifecycle) of the container.
368
368
369
369
***`hooks`** (object, OPTIONAL) MAY contain any of the following properties:
370
370
***`prestart`** (array of objects, OPTIONAL) is an array of [pre-start hooks](#prestart).
0 commit comments