The reason is that DockerContainerizer is using doker CLI to create container, Docker performs the initial container configuration, while modifying resources (CPU, memory, etc.) and the DockerContainerizer cannot compose with other existing and future Mesos isolators, such as the cgroups/mem isolator which is required by you.
I think that you can have a try for MesosContainerizer with docker image, you can refer to a simple tutorial here: https://github.com/apache/mesos/blob/master/docs/container-image.md#test-it-out Thanks, Guangya On Thu, Mar 24, 2016 at 5:03 PM, David Keijser <[email protected]> wrote: > On Thu, Mar 24, 2016 at 12:12:56AM +0800, haosdent wrote: > > Yes, this flag only available in mesos containerizer. > > > > Why? :) > > I can't imagine why this wouldn't be desired when using the docker > containeriser. Is this something that would be hard to support for > docker and that's why it was not added? >

