Hi team,

I'd like to start a mesos-agent in Docker with docker container, I can run
sleep docker within a ubuntu docker with following args; but I can not
start an Mesos Agent. Refer to the following for the detail of output:

$sudo docker run --privileged --net=host -v /cgroup:/cgroup -v
/var/run/docker.sock:/var/run/docker.sock -v `which
docker`:/usr/local/bin/docker mesostest/mesos mesos-slave
--master=zk://xxxxx:2181/mesos --containerizers=docker,mesos

​I1028 01:43:38.415841     1 main.cpp:190] Build: 2015-10-26 19:18:04 by
engbuild
I1028 01:43:38.416102     1 main.cpp:192] Version: 0.26.0
I1028 01:43:38.416353     1 main.cpp:199] Git SHA:
e3e24f32a0e4b89dee416969c5bc67ae9742007c
Failed to create a containerizer: Could not create DockerContainerizer:
Failed to create docker: Failed to find a mounted cgroups hierarchy for the
'cpu' subsystem; you probably need to mount cgroups manually
​

-- 
​Klaus​

<http://k82.me>

Reply via email to