Closed Krishnacore closed 6 months ago
At the moment, the action does not work when launching the container on a system with cgroup v2. cat /proc/self/cgroup inside a container with mounted socket on host with cgroup v1:
cat /proc/self/cgroup
0::/docker/a796003601f83ca28aa4139aa099cf3b2993d0ec6aa492be4018c58d60afc905
The same with cgroup v2 (The container must be launched with --cgroupns host):
--cgroupns host
0::/system.slice/docker-0697bf0ca3821b4f65e29f8f80fa7724f80614cae3f325d8ecc4770ed9116a74.scope
This way we will handle both cases
Description
At the moment, the action does not work when launching the container on a system with cgroup v2.
cat /proc/self/cgroup
inside a container with mounted socket on host with cgroup v1:The same with cgroup v2 (The container must be launched with
--cgroupns host
):This way we will handle both cases
Checklist