[
https://issues.apache.org/jira/browse/MESOS-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14616706#comment-14616706
]
chenzongzhi commented on MESOS-2588:
------------------------------------
if we want to set the container's cgoup by script, we need know the path, then
we can change the value directly by write a value in this file.
such as we can echo 10000 >
/cgroup/cpu/docker/ce00c65f07924ab5225e655a4e2fc6e7f30e63e1ac7a49901463002946fd196f/cpu.cfs_period_us
to implement our limitation
Or we can set the cgoup limit like MesosContainer.
> Create pre-create hook before a Docker container launches
> ---------------------------------------------------------
>
> Key: MESOS-2588
> URL: https://issues.apache.org/jira/browse/MESOS-2588
> Project: Mesos
> Issue Type: Bug
> Components: docker
> Reporter: Timothy Chen
> Assignee: haosdent
>
> To be able to support custom actions to be called before launching a docker
> contianer, we should create a hook that can be extensible and allow
> module/hooks to be performed before a docker container is launched.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)