Skip to content

Commit 8efcfad

Browse files
committed
Update runtime.md
Add an explicit explanation of the hooks order. Signed-off-by: Liang Chenye <[email protected]>
1 parent 2d9842b commit 8efcfad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ This event needs to be captured by runc to run onstop event handlers.
5050
## Hooks
5151

5252
Hooks allow one to run code before/after various lifecycle events of the container.
53+
Hooks MUST be called in the listed order.
5354
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.
5455

5556
Hook paths are absolute and are executed from the host's filesystem.

0 commit comments

Comments
 (0)