Skip to content

Conversation

@bidorffOL
Copy link

It seems that using /proc/1/cgroup has been broken lately to detect docker. Other projects have been using /proc/1/mountinfo instead (see pre-commit/pre-commit#3535). This PR extends the current detection mecanisms (without removing the existing ones).

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.

  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.

  • If applicable, I've documented the impact of any changes to security controls.

    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

It seems that using /proc/1/cgroup is now broken to detect docker. Other projects have been using /proc/1/mountinfo instead (see pre-commit/pre-commit#3535)
@bidorffOL bidorffOL requested a review from a team as a code owner October 13, 2025 21:53
@hashicorp-cla-app
Copy link

hashicorp-cla-app bot commented Oct 13, 2025

CLA assistant check
All committers have signed the CLA.

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.

1 participant