mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-15 05:20:20 -06:00
The hostname is not always the container id. Get the container id from /proc/1/cgroup. Fixes #1918.
The hostname is not always the container id. Get the container id from /proc/1/cgroup. Fixes #1918.