[lxc-users] Status: Debian Jessie support for unprivileged containers?

Christian Benke benkokakao at gmail.com
Wed Oct 14 18:48:42 UTC 2015


>>    sudo service cgmanager start
>>    sudo cgm create all $USER
>>    sudo cgm chown all $USER $(id -u) $(id -g)
>>    sudo cgm movepid all $USER $$

>   echo \$\$ >> /sys/fs/cgroup/perf_event/lxc-bobby/tasks; \
>   echo \$\$ >> /sys/fs/cgroup/blkio/lxc-bobby/tasks; \
>   echo \$\$ >> /sys/fs/cgroup/net_cls,net_prio/lxc-bobby/tasks; \
>   echo \$\$ >> /sys/fs/cgroup/freezer/lxc-bobby/tasks; \
>   echo \$\$ >> /sys/fs/cgroup/devices/lxc-bobby/tasks; \
>   echo \$\$ >> /sys/fs/cgroup/cpu,cpuacct/lxc-bobby/tasks; \
>   echo \$\$ >> /sys/fs/cgroup/cpuset/lxc-bobby/tasks; \

Oh, ok, thought it's more fancy :-P Thanks however!

I'll probably adapt that to modify the cgroups with cgmanager, all of
the groups are covered by "cgm <command> all" (See the full
cgm-commands I mentioned above).

Cheers,
Christian


More information about the lxc-users mailing list