-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Fix systemd cgroups implementation #19149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The cgroup parent was getting set to /docker by default which doesn't work for the systemd cgroup implementation. It isn't necessary to set the default as we set the correct value in the template code. Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
|
@LK4D4 PTAL Without the fix With the fix |
|
@mrunalp but it's sorta reverts my commit about "/docker" default, no? :) |
|
Check out #19144 also |
|
@LK4D4 Yes, that's what came to my mind after posting this PR. However, this PR will still work. It doesn't break the docker daemon feature :) It is upto you which one you want to merge. I am happy with either :) |
|
@mrunalp I don't know what to choose. Your PR is simpler, but mine looks less magical :/ |
|
@LK4D4 I prefer your PR. It simplifies the code which was a bit wonky. |
|
so I think we can close this now? |
The cgroup parent was getting set to /docker by default which doesn't work
for the systemd cgroup implementation. It isn't necessary to set the default
as we set the correct value in the template code.
Signed-off-by: Mrunal Patel mrunalp@gmail.com