Yes, exactly.
And I think this type of preHook should be a script. 
Such as I want change the cgroup config, I want create a path. 

can we start this ticket right now? we really need this feature.


----------------------------------------
陈宗志
 
Blog:baotiao.github.io
 
 
 

> On May 15, 2015, at 14:33, haosdent <haosd...@gmail.com> wrote:
> 
> Is this ticket relate to your problems?
> https://issues.apache.org/jira/browse/MESOS-2588
> 
> On Fri, May 15, 2015 at 12:32 PM, baotiao <baot...@gmail.com> wrote:
> 
>> Hey guys
>> 
>>    We 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
>> 
>> ----------------------------------------
>> 陈宗志
>> 
>> Blog:baotiao.github.io
>> 
>> 
>> 
>> 
>> 
> 
> 
> -- 
> Best Regards,
> Haosdent Huang

Reply via email to