Closed stv0g closed 3 years ago
Currently the GetFromDocker() constructor only searches for cgroup v1 paths to identify PIDs of a Docker network namespace.
GetFromDocker()
This PR also adds support for cgroup v2 based systems.
Thanks for merging @vishvananda :)
Currently the
GetFromDocker()
constructor only searches for cgroup v1 paths to identify PIDs of a Docker network namespace.This PR also adds support for cgroup v2 based systems.