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