Skip to content

Commit

Permalink
Merge pull request #870 from wking/no-hooks-on-windows
Browse files Browse the repository at this point in the history
config: Require hook support on Linux and Solaris
  • Loading branch information
crosbymichael authored Jun 1, 2017
2 parents f79b61d + 1a6cb18 commit 358f49e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions config.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,10 +367,9 @@ For Windows based systems the user structure has the following fields:
}
```

## <a name="configHooks" />Hooks
## <a name="configHooks" />Linux and Solaris 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.
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.

* **`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 358f49e

Please sign in to comment.