[
https://issues.apache.org/jira/browse/MESOS-7141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilbert Song updated MESOS-7141:
--------------------------------
Target Version/s: 1.3.0
Labels: containerizer hooks (was: )
We should support the container lifecycle hook asap since it would be useful
for different scenarios. A new abstraction may be needed.
https://github.com/kubernetes/community/blob/master/contributors/design-proposals/container-runtime-interface-v1.md#container-lifecycle-hooks
> 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)