Closed LiaoSirui closed 1 year ago
it is empty, but on the host:
hierarchies:
0: fd: 6: cpuset,cpu,io,memory,hugetlb,pids,rdma,misc
Hi @LiaoSirui
List of the cgroup-v2 controllers is based on the cgroup.controllers
file.
https://docs.kernel.org/admin-guide/cgroup-v2.html#enabling-and-disabling
code is https://github.com/lxc/lxcfs/tree/lxcfs-5.0.3
when on the host machine
i got the right gc
but in container, it is empty
i am using cgroups v2, in container, cgroups is like:
on the host machine:
container is already to add
hostPid: true