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

Marc Villacorta edited comment on MESOS-2115 at 11/3/16 5:07 PM:
-----------------------------------------------------------------

[~SailC] The docker image you specify in {{--docker_mesos_image}} must have a 
docker client embedded (not bind-mounted) this image will be used to run the 
mesos executor. I personally use the same image for the mesos-agent and for the 
executor. In this 
[commit|https://github.com/katosys/kato/commit/50b7a82d8c63373b53072be33943cb6ff56a20b5]
 I switch from docker to rocket and it might be of interest to you because it 
shows how this can be achieved with both container runtimes.



was (Author: h0tbird):
[~SailC] The docker image you specify in {{--docker_mesos_image}} must have a 
docker client embedded (not bind-mounted) this image will be used to run the 
mesos executor. I personally use the same image for the mesos-agent and for the 
executor. In this 
[commit|https://github.com/katosys/kato/commit/50b7a82d8c63373b53072be33943cb6ff56a20b5]
 I switch from docker to rocker and it might be of interest to you because it 
shows how this can be achieved with both container runtimes.


> Improve recovering Docker containers when slave is contained
> ------------------------------------------------------------
>
>                 Key: MESOS-2115
>                 URL: https://issues.apache.org/jira/browse/MESOS-2115
>             Project: Mesos
>          Issue Type: Epic
>          Components: docker
>            Reporter: Timothy Chen
>            Assignee: Timothy Chen
>              Labels: docker
>             Fix For: 0.23.0
>
>
> Currently when docker containerizer is recovering it checks the checkpointed 
> executor pids to recover which containers are still running, and remove the 
> rest of the containers from docker ps that isn't recognized.
> This is problematic when the slave itself was in a docker container, as when 
> the slave container dies all the forked processes are removed as well, so the 
> checkpointed executor pids are no longer valid.
> We have to assume the docker containers might be still running even though 
> the checkpointed executor pids are not.



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

Reply via email to