[
https://issues.apache.org/jira/browse/MESOS-7141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964290#comment-15964290
]
Tobias Müller commented on MESOS-7141:
--------------------------------------
I think having a "Prestop" stage would be useful as well. For example it could
be used to enable deregister mechanisms. For example GitLab CI Runners could
then deregister properly with the main GitLab instance when the GitLab CI
Runner instances are stopped.
> Support hook scripts to customize actions for container's lifecycle
> -------------------------------------------------------------------
>
> Key: MESOS-7141
> URL: https://issues.apache.org/jira/browse/MESOS-7141
> Project: Mesos
> Issue Type: Task
> Components: containerization, isolation
> Reporter: Jason Lai
> Assignee: Jason Lai
> Labels: containerizer, hooks
>
> Inspired by [hooks |
> https://github.com/opencontainers/runtime-spec/blob/master/config.md#hooks]
> in [OCI's runtime spec | https://github.com/opencontainers/runtime-spec], it
> would be great to have scripts hooked into the lifecycle of containers.
> The OCI doc has specified 3 stages for hooking:
> * Prestart
> * Poststart
> * Poststop
> We can consider having the 3 stages to start with.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)