spiegel_podman/vendor/github.com/containers
Valentin Rothberg 34235b2726 system df: fix image-size calculations
Fix two bugs in `system df`:

1.  The total size was calculated incorrectly as it was creating the sum
    of all image sizes but did not consider that a) the same image may
    be listed more than once (i.e., for each repo-tag pair), and that
    b) images share layers.

    The total size is now calculated directly in `libimage` by taking
    multi-layer use into account.

2.  The reclaimable size was calculated incorrectly.  This number
    indicates which data we can actually remove which means the total
    size minus what containers use (i.e., the "unique" size of the image
    in use by containers).

NOTE: The c/storage version is pinned back to the previous commit as it
      is buggy.  c/common already requires the buggy version, so use a
      `replace` to force/pin.

Fixes: #16135
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
2022-10-19 11:20:41 +02:00
..
buildah Update vendor of containers/buildah v1.28.0 2022-10-03 10:17:14 -04:00
common system df: fix image-size calculations 2022-10-19 11:20:41 +02:00
conmon Add an API for Attach over HTTP API 2020-01-16 13:49:21 -05:00
image/v5 Update vendor containers/(common,image,storage) 2022-10-15 09:42:51 -04:00
libtrust Vendor in containers/common@main 2022-02-28 16:23:26 -05:00
ocicrypt build(deps): bump github.com/containers/ocicrypt from 1.1.5 to 1.1.6 2022-10-10 12:16:08 +00:00
psgo vendor containers/psgo@v1.8.0 2022-10-14 17:28:15 +02:00
storage Update vendor containers/(common,image,storage) 2022-10-15 09:42:51 -04:00