Skip to content

Commit

Permalink
config: Remove incorrect "after the container namespaces are created"
Browse files Browse the repository at this point in the history
Not all hooks are run after creation.  In fact, there are currently no
postcreate hooks (prestart hooks are called "after the start operation
is called but before the user-specified program command is executed".

Fixing 28e8f68 (Hooks to linux,solaris and doc clarification,
2017-05-24, opencontainers#855), which pulled the broken line in from a Go comment
[1].

[1]: opencontainers#855 (comment)

Signed-off-by: W. Trevor King <[email protected]>
  • Loading branch information
wking committed May 31, 2017
1 parent ec44a7e commit 0bdeae6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ Runtime implementations MAY support any valid values for platform-specific field
## <a name="configHooks" />Hooks

Hooks allow for the configuration of custom actions related to the [lifecycle](runtime.md#lifecycle) of the container if supported by the platform.
On Linux, they are run after the container namespaces are created.

* **`hooks`** (object, OPTIONAL) MAY contain any of the following properties:
* **`prestart`** (array of objects, OPTIONAL) is an array of [pre-start hooks](#prestart).
Expand Down

0 comments on commit 0bdeae6

Please sign in to comment.