You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2016/11/03 22:48:58 UTC

[jira] [Commented] (MESOS-6542) Pull the current "init" process for a container out of the container.

    [ https://issues.apache.org/jira/browse/MESOS-6542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15634572#comment-15634572 ] 

Yan Xu commented on MESOS-6542:
-------------------------------

Should this be optional? i.e., can {{containerizer launch}} serve as a default "init" to ease the burden of users/framework developers?

> Pull the current "init" process for a container out of the container.
> ---------------------------------------------------------------------
>
>                 Key: MESOS-6542
>                 URL: https://issues.apache.org/jira/browse/MESOS-6542
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Kevin Klues
>
> Currently the mesos agent is in control of the "init" process launched inside of a container. However, in order to properly support things like systemd-in-a-container, we need to allow users to control the init process that ultimately gets launched.
> We will still need to fork a process equivalent to the current "init" process, but it shouldn't be placed inside the container itself (instead, it should be the parent process of whatever init process it is directed to launch).
> In order to do this properly, we will need to rework some of the logic in {{launcher->fork()}} to allow this new parent process to do the namespace entering / cloning instead of {{launcher->fork()}} itself.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)