[lxc-devel] One quick question / bug
Daniel Lezcano
dlezcano at fr.ibm.com
Sun Jan 10 21:40:30 UTC 2010
Ciprian Dorin, Craciun wrote:
> From what I know it is possible to have nested cgroups. (Right?)
> If so, it is feasible / possible to have nested LXC containers.
It's possible to have nested cgroups and nested namespaces. But lxc does
not support that because of the ns_cgroup.
I am in discussion with the kernel guys to remove the ns_cgroup from linux.
> But the problem is that in order to do this the `lxc-*` tools
> should not expect that the new context is always going to be directly
> in the root of the /cgroup (but maybe in a tree like
> /cgroup/context1/context1.1/context1.1.1/nexcontext...) . (Or better
> it would be even nicer if when I mount a new /cgroup folder it should
> be rooted at the current cgroup context and not the `root` one...)
yep, for the moment : 1 container == 1 cgroup
More information about the lxc-devel
mailing list