spiegel_podman/pkg/domain/infra
Valentin Rothberg a30fd8f610 make podman rmi more robust
The c/storage library is subject to TOCTOUs as the central container and
image storage may be shared by many instances of many tools.  As shown
in #6510, it's fairly easy to have multiple instances of Podman running
in parallel and yield image-lookup errors when removing them.

The underlying issue is the TOCTOU of removal being split into multiple
stages of first reading the local images and then removing them.  Some
images may already have been removed in between the two stages. To make
image removal more robust, handle errors at stage two when a given image
is not present (anymore) in the storage.

Fixes: #6510
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
2021-02-11 13:21:05 -05:00
..
abi make podman rmi more robust 2021-02-11 13:21:05 -05:00
tunnel Cleanup bindings for image pull 2021-02-08 14:04:26 -05:00
runtime_abi.go Spelling 2020-12-22 13:34:31 -05:00
runtime_abi_unsupported.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
runtime_libpod.go add network connect|disconnect compat endpoints 2020-11-17 14:22:39 -06:00
runtime_proxy.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
runtime_tunnel.go Spelling 2020-12-22 13:34:31 -05:00