[
https://issues.apache.org/jira/browse/MESOS-7141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964816#comment-15964816
]
Gilbert Song commented on MESOS-7141:
-------------------------------------
[~tmueller.mesosphere], +1. We will add `pre-stop` to the hook if possible.
/cc [~jasonlai] [~jieyu]
> 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)