Skip to content

Merge dev in main - #433

Open
bpetit wants to merge 12 commits into
mainfrom
dev
Open

bpetit wants to merge 12 commits into
mainfrom
dev

Conversation

@bpetit

@bpetit bpetit commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

No description provided.

joegharbi and others added 12 commits June 2, 2026 17:09
- Update regex patterns to support both cgroups v1 and v2 formats
- Cgroups v2 paths have a hierarchy prefix (e.g., 0::) before the path
- Docker, Kubernetes, and Containerd detection now work on systems using cgroups v2

Fixes #420
…groups

- Use non-capturing groups (?:...) instead of capturing groups to better communicate intent
- Require proper path segments (e.g., /docker, /kubepods, /system.slice/containerd.service/)
- Add non-greedy matching (*?) to avoid overly broad matches
- Preserve original path-segment intent while supporting cgroups v2

Addresses review feedback from Copilot PR reviewer
…tion

Fix container detection for cgroups v2 (Debian 13) - Fixes #420

This branch has not been deployed

No deployments
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.

3 participants