diff --git a/runtime.md b/runtime.md index 37f0a3c4..be2045b5 100644 --- a/runtime.md +++ b/runtime.md @@ -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.