rootless: support --exec-opt native.cgroupdriver=systemd#40486
Merged
cpuguy83 merged 1 commit intomoby:masterfrom Mar 3, 2020
Merged
rootless: support --exec-opt native.cgroupdriver=systemd#40486cpuguy83 merged 1 commit intomoby:masterfrom
--exec-opt native.cgroupdriver=systemd#40486cpuguy83 merged 1 commit intomoby:masterfrom
Conversation
This was referenced Feb 10, 2020
Closed
Member
Author
|
cc @giuseppe FYI for Podman compatibility |
AkihiroSuda
commented
Feb 10, 2020
805d1cb to
c94f869
Compare
Support cgroup as in Rootless Podman. Requires cgroup v2 host with crun. Tested with Ubuntu 19.10 (kernel 5.3, systemd 242), crun v0.12.1. Signed-off-by: Akihiro Suda <[email protected]>
c94f869 to
ca4b518
Compare
Member
Author
|
@tonistiigi PTAL? |
Member
Author
|
@thaJeztah PTAL? |
Member
Author
|
@tonistiigi LGTY? |
tonistiigi
approved these changes
Mar 2, 2020
Member
Author
|
PR for runc: opencontainers/runc#2281 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
- What I did
Support rootless cgroup.
Requires cgroup v2 host with crun.
Tested with Ubuntu 19.10 (kernel 5.3, systemd 242), crun v0.12.1.
- How I did it
Using systemd.
- How to verify it
systemd.unified_cgroup_hierarchy=1to the kernel cmdlineStart a daemon:
Verify:
- Description for the changelog
rootless: support
--exec-opt native.cgroupdriver=systemd- A picture of a cute animal (not mandatory but encouraged)
🐧