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

podman stats: work with network connect/disconnect #14421

Merged
merged 1 commit into from
Jun 2, 2022

Commits on May 31, 2022

  1. podman stats: work with network connect/disconnect

    Hardcoding the interface name is a bad idea. We have no control over the
    actual interface name since the user can change it.
    
    The correct thing is to read them from the network status. Since the
    contianer can have more than one interface we have to add the RX/TX
    values. The other values are currently not used.
    
    For podman 5.0 we should change it so that the API can return the
    statistics per interface and the client should sum the TX/RX for the
    command output. This is what docker is doing.
    
    Fixes containers#13824
    
    Signed-off-by: Paul Holzinger <pholzing@redhat.com>
    Luap99 committed May 31, 2022
    Configuration menu
    Copy the full SHA
    16e8b2f View commit details
    Browse the repository at this point in the history