Hi Shuai, Thanks for your interest in doing this!
The DockerContainerizer *might* have support for Isolators but it's still in discussion mode how/what that will look like as it's largely depending on how the Docker engine evolves. Current state of the engine have very limited ability to add custom isolation logic. I'll leave more comments on the JIRA. Tim On Fri, May 29, 2015 at 10:06 AM, Niklas Nielsen <nik...@mesosphere.io> wrote: > (Looping in Tim) > > It sounds like we have two options to support your use-case: > > 1) Introduce a executorLaunched hook > 2) Wait until DockerContainerizer supports isolators > > (1) Will probably be the quickest, but also a fairly unclean one - as the > slave doesn't have access to the executor pids directly. > (2) is probably the right way, but takes more effort. What is your current > timeframe? > > Niklas > > > On 29 May 2015 at 07:46, Shuai Lin <linshuai2...@gmail.com> wrote: > >> Hi all, >> >> I'm working on https://issues.apache.org/jira/browse/MESOS-2724 (Support >> running custom commands on slaves when launcing a docker container), and >> would like to get suggestions from you. >> >> Please check my latest comment here >> < >> https://issues.apache.org/jira/browse/MESOS-2724?focusedCommentId=14564911&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14564911 >> > >> . >> >> Thanks! >> >> Best Regards, >> Shuai Lin >> > >