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

Support cgroups v1 and v2 for Docker containers #2229

Merged
merged 4 commits into from
Sep 21, 2023
Merged

Support cgroups v1 and v2 for Docker containers #2229

merged 4 commits into from
Sep 21, 2023

Conversation

fallwith
Copy link
Contributor

Previously the agent was only capable of gleaning a Docker container id by leveraging a cgroups v1 approach. Now, it will first attempt to leverage a cgroups v2 approach and fall back to the v1 approach if that doesn't work. All other Docker related behavior such as that seen with containers that don't have cgroups functionality enabled is not impacted.

resolves #2026

Previously the agent was only capable of gleaning a Docker container id
by leveraging a cgroups v1 approach. Now, it will first attempt to
leverage a cgroups v2 approach and fall back to the v1 approach if that
doesn't work. All other Docker related behavior such as that seen with
containers that don't have cgroups functionality enabled is not
impacted.
kaylareopelle
kaylareopelle previously approved these changes Sep 21, 2023
Update CHANGELOG for the Docker container id support for cgroups v2 / PR
2026
For the Docker container id support for cgroups v2, reference the PR,
not the Issue
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Kayla Reopelle (she/her) <[email protected]>
@github-actions
Copy link
Contributor

SimpleCov Report

Coverage Threshold
Line 94.32% 94%
Branch 85.89% 85%

@fallwith fallwith merged commit c714f98 into dev Sep 21, 2023
25 checks passed
@fallwith fallwith deleted the 📦🐋 branch September 21, 2023 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Docker: ensure the container id can be gleaned
2 participants