Fix running in privileged mode against a daemon with --default-cgroupns-mode=host#39578
Fix running in privileged mode against a daemon with --default-cgroupns-mode=host#39578AkihiroSuda merged 2 commits intomoby:masterfrom
Conversation
|
@tonistiigi - This should address the test failures you were talking about in the comment linked above. |
|
@rgulewich failing in CI for the same test |
|
@rgulewich i see in the experimental PR check with commit 86abfc6: |
86abfc6 to
6c141aa
Compare
|
@tonistiigi / @andrewhsu / @thaJeztah - Updated, and |
|
@psftw FYI looks like that machine might be out of space? https://ci.docker.com/public/blue/organizations/jenkins/moby/detail/PR-39578/2/pipeline |
This test requires cgroup namespaces to be enabled, not the other way around. Signed-off-by: Rob Gulewich <[email protected]>
Signed-off-by: Rob Gulewich <[email protected]>
6c141aa to
530f2d6
Compare
|
@tonistiigi / @andrewhsu / @thaJeztah / @cpuguy83 - Any chance someone could take a look at this? The Windows test failure looks to be unrelated. |
As per #38377 (comment)
Two changes:
TestCgroupNamespacesRunPrivileged(): it requires cgroup namespaces to be enabled, not the other way around.hostwhen running with--privileged, rather than falling back to the host default