Merge pull request #157 from liangchenye/master

Update runtime.md
This commit is contained in:
Vincent Batts 2015-09-10 17:19:17 -04:00
commit 51c9265b29
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ This event needs to be captured by runc to run onstop event handlers.
## Hooks
Hooks allow one to run code before/after various lifecycle events of the container.
Hooks MUST be called in the listed order.
The state of the container is passed to the hooks over stdin, so the hooks could get the information they need to do their work.
Hook paths are absolute and are executed from the host's filesystem.