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

Improve logic to find self container id #429

Merged
merged 1 commit into from
Nov 27, 2022

Conversation

lucaslorentz
Copy link
Owner

@lucaslorentz lucaslorentz commented Nov 27, 2022

Use mountinfo, fallback to cgroups, fallback to hostname.
Fixes #207

@lucaslorentz lucaslorentz force-pushed the improve-self-id-discovery branch from 04691ff to f923224 Compare November 27, 2022 07:44
@lucaslorentz lucaslorentz changed the title Use mountinfo to find self container id Improve logic to find self container id Nov 27, 2022
@lucaslorentz lucaslorentz merged commit fce8746 into master Nov 27, 2022
@lucaslorentz lucaslorentz deleted the improve-self-id-discovery branch November 27, 2022 13:02
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.

Container id extraction logic breaks on docker with cgroup2
1 participant