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

Extend GetFromDocker() to support also newer distros with cgroup v2 support #49

Merged
merged 1 commit into from
Nov 1, 2021

Conversation

stv0g
Copy link
Contributor

@stv0g stv0g commented Oct 14, 2021

Currently the GetFromDocker() constructor only searches for cgroup v1 paths to identify PIDs of a Docker network namespace.

This PR also adds support for cgroup v2 based systems.

@stv0g
Copy link
Contributor Author

stv0g commented Dec 20, 2021

Thanks for merging @vishvananda :)

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.

2 participants