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

Timothy Chen commented on MESOS-2183:
-------------------------------------

[~jaybuff] do you have a executor in a docker image that you have in mind? 
I have a review that should make it work, I wonder if you can try it?

reviews.apache.org/r/29889

> docker containerizer doesn't work when mesos-slave is running in a container
> ----------------------------------------------------------------------------
>
>                 Key: MESOS-2183
>                 URL: https://issues.apache.org/jira/browse/MESOS-2183
>             Project: Mesos
>          Issue Type: Bug
>          Components: containerization, docker
>            Reporter: Jay Buffington
>            Assignee: Timothy Chen
>
> I've started running the mesos-slave process itself inside a docker 
> container.  I bind mount in the dockerd socket, so there is only one docker 
> daemon running on the system.
> The mesos-slave process uses "docker run" to start an executor in another, 
> sibling, container.  It asks "docker inspect" what the pid of the executor 
> running in the container is.  Since the mesos-slave process is in its own pid 
> namespace, it cannot see the pid for the executor in /proc.  Therefore, it 
> thinks the executor died and it does a docker kill.
> It looks like the executor pid is also used to determine what port the 
> executor is listening on.



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

Reply via email to