You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by baotiao <ba...@gmail.com> on 2015/05/15 06:32:32 UTC

mesos support command from host machine

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
 
 
 


Re: mesos support command from host machine

Posted by haosdent <ha...@gmail.com>.
No, preHook is not script here. @Timothy Chen, any ideas?

On Fri, May 15, 2015 at 3:49 PM, baotiao <ba...@gmail.com> wrote:

> 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 <ha...@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 <ba...@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
>
>


-- 
Best Regards,
Haosdent Huang

Re: mesos support command from host machine

Posted by baotiao <ba...@gmail.com>.
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 <ha...@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 <ba...@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


Re: mesos support command from host machine

Posted by haosdent <ha...@gmail.com>.
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 <ba...@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