[lxc-users] forcing a container to use a specific cgroup with v2.0.8

Marshall2, John (SSC/SPC) john.marshall2 at canada.ca
Wed Feb 28 22:58:51 UTC 2018


Hi,

At the moment I am using LXC 2.0.8 (ubuntu 16.04) and have noticed a change in behavior
since previous releases of LXC I have used (1.x and 2.0.5, I believe). I've not yet narrowed
when the change happened.

My goal is to start an LXC container within an existing (arbitrary) cgroup. Previously, I was
able to run lxc-start from within a cgroup and the new LXC cgroup would be created under
it. I used lxc.cgroup.pattern=%n in lxc.conf.

Is there any way to do the same thing with v2.0.8? I see that 2.1 has lxc.cgroup.dir which
appears to do what I need, but I am trying to do this with 2.0.8, at least for now.

Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180228/5ba889c7/attachment.html>


More information about the lxc-users mailing list