[lxc-users] Using predefined cgroups

Dr. Todor Dimitrov dimitrov at technology.de
Mon May 15 18:18:16 UTC 2017


LXC automatically creates the "/sys/fs/cgroup/*/lxc/some-container-name" cgroups, which are setup to reflect the restrictions as defined in the container configuration file. I was wondering whether it would be possible to use a predefined cgroups hierarchy, which is not writable by LXC. Thus it would be possible for a super-user to place resource restrictions for the containers run by the unprivileged users. Is it possible to implement such a scenario using cgroups?

Any remarks and hints are highly appreciated.

Thanks in advance,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3561 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170515/8a466703/attachment.bin>

More information about the lxc-users mailing list