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

Timothy Chen commented on MESOS-2724:
-------------------------------------

Actually if blkio limit and cfs_period_us are the only settings you like to be 
able to change, then we can put this directly into the DockerContainerizer code 
itself, as it's a generic enough configuration that every user can benefit from.

The only consideration is that I know long term we don't like to put custom 
cgroup logic into the DockerContainerizer, but support isolators such as 
MesosContainerizer does, but that's largely depending on nature of each 
isolator and how it interacts with Docker.

> Support running custom commands on slaves when launcing a docker container
> --------------------------------------------------------------------------
>
>                 Key: MESOS-2724
>                 URL: https://issues.apache.org/jira/browse/MESOS-2724
>             Project: Mesos
>          Issue Type: Improvement
>          Components: framework
>            Reporter: chenzongzhi
>            Assignee: Shuai Lin
>
> gWe use mesos + marathon to build our Paas platform. We meet a problem
> We want to execute some command after the docker container started. such as 
> we want change the cgroup setting.
> We know We can execute some command in the  docker container, but we want 
> execute command in the host machine.
> Anyone know how to implement it or any good idea?
>     Thanks



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

Reply via email to