Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A more reliable way to get the container id. #1919

Merged
merged 1 commit into from Jul 3, 2021

Commits on Jul 3, 2021

  1. A more reliable way to get the container id.

    The hostname is not always the container id. Get the container id from
    /proc/1/cgroup. Fixes pre-commit#1918.
    adarnimrod authored and asottile committed Jul 3, 2021
    Copy the full SHA
    3e10209 View commit details
    Browse the repository at this point in the history