Skip to content
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

Add support for cgroups configuration #115

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Apr 13, 2020

We need to be able to disable cgroups when running container engines inside of containers.

Signed-off-by: Daniel J Walsh dwalsh@redhat.com

We need to be able to disable cgroups when running container engines inside of containers.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
@rhatdan
Copy link
Member Author

rhatdan commented Apr 13, 2020

@QiWang19
Copy link
Contributor

LGTM, but issue containers/podman#5488 (comment) said disable cgroup didn't help

@rhatdan
Copy link
Member Author

rhatdan commented Apr 13, 2020

@QiWang19 Right, I will have a PR for podman to handle this new flag.

`enabled` Enable cgroup support within container
`disabled` Disable cgroup support, will inherit cgroups from parent
`no-conmon` Container engine runs run without conmon

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side question. I thought at first that we should add a link to the conmon man page here too, but it doesn't have one. Is that something that should happen? Otherwise will most folks know what running without conmon means?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that means "do not create a cgroup for conmon", otherwise systemd can get confused when conmon is moved to a different cgroup

@TomSweeneyRedHat
Copy link
Member

LGTM
one question for later rumination

@TomSweeneyRedHat TomSweeneyRedHat merged commit d6d7acf into containers:master Apr 13, 2020
@rhatdan
Copy link
Member Author

rhatdan commented Apr 13, 2020

@TomSweeneyRedHat I have no idea what that field is for. Maybe @giuseppe or @haircommander know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants