Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run post-stop hooks before the container sandbox is deleted. #395

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions runtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ The lifecycle describes the timeline of events that happen from when a container
If any poststart hook fails, then the container MUST be stopped and the lifecycle continues at step 8.
6. Additional actions such as pausing the container, resuming the container or signaling the container MAY be performed using the runtime interface.
The container MAY also error out, exit or crash.
7. The container MUST be destroyed by undoing the steps performed during create phase (step 2).
8. The poststop hooks MUST be invoked by the runtime and errors, if any, MAY be logged.
7. The poststop hooks MUST be invoked by the runtime and errors, if any, MAY be logged.
8. The container MUST be destroyed by undoing the steps performed during create phase (step 2).


Note: The lifecycle is a WIP and it will evolve as we have more use cases and more information on the viability of a separate create phase.

Expand Down