rootless v2 cannot collect network stats

network statistics cannot be collected for rootless network devices with
the current implementation.  for now, we return nil so that stats will
at least for users.

Fixes:#4268

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2019-10-15 14:00:18 -05:00
parent 5f72e6ef2e
commit f10f9bc58f
2 changed files with 9 additions and 0 deletions

View File

@ -15,6 +15,9 @@ Note: Podman stats will not work in rootless environments that use CGroups V1.
Podman stats relies on CGroup information for statistics, and CGroup v1 is not
supported for rootless use cases.
Note: Rootless environments that use CGroups V2 are not able to report statistics
about their networking usage.
## OPTIONS
**--all**, **-a**