Hide Forgot
docker-autotest reporting this failure on docker-1.10.3-55.el7.x86_64 et al: # docker run --rm --cgroup-parent=foo-bar.slice centos cat /proc/1/cgroup 11:perf_event:/foo.slice/foo-bar.slice/docker-<sha>.scope ... 5:cpuacct,cpu:/foo.slice/foo-bar.slice/docker-<sha>.scope >> 4:pids:/ 3:cpuset:/foo.slice/foo-bar.slice/docker-<sha>.scope ...
What OS are you testing on? I do not see the pids cgroup enabled on my RHEL 7.2 VM.
RHEL 7.3, kernel 3.10.0-513.el7.x86_64
Thanks! I checked the code. We don't have the pids cgroups support for libcontainer in our docker 1.10.x branches. So, if we really want it in docker 1.10 then we need a backport which should be straight forward. Dan, wdyt about backporting to 1.10 or should we just support it in 1.12+?
I think we should just support this in docker-1.12 unless we are forced by OpenShift. For now lets close this as fixed in docker-1.12.
In docker-1.12.3-4.el7.x86_64 # docker run --rm --cgroup-parent=foo-bar.slice rhel7 cat /proc/1/cgroup ..... 10:pids:/foo.slice/foo-bar.slice/docker-9788efa1b06cfa3dd86ad523c79dde6143740908b030d434fbeda03939b7365d.scope
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2017-0116.html