mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-13 11:59:12 -05:00
3e1020945e
The hostname is not always the container id. Get the container id from /proc/1/cgroup. Fixes #1918.