What is the problem I am trying to solve ?
Looking at the list of supported hooks, we are missing a hooks for configuring custom actions related to the exit lifecycle ( i.e normal exist / killing a container ..)
In nerdctl project, we need a hooks to deal with container deps when the container exit, such as cleaning some state files.
Describe the solution
add new hook PostExit to the hooks list
What is the problem I am trying to solve ?
Looking at the list of supported hooks, we are missing a hooks for configuring custom actions related to the
exitlifecycle ( i.e normal exist / killing a container ..)In nerdctl project, we need a hooks to deal with container deps when the container exit, such as cleaning some state files.
Describe the solution
add new hook
PostExitto the hooks list