cap icon indicating copy to clipboard operation
cap copied to clipboard

Further adjustments to WSL detection

Open bidorffOL opened this issue 3 months ago • 1 comments

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

PCI review checklist

  • [x] 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.

bidorffOL avatar Oct 13 '25 21:10 bidorffOL

CLA assistant check
All committers have signed the CLA.

hashicorp-cla-app[bot] avatar Oct 13 '25 21:10 hashicorp-cla-app[bot]