spiegel_podman/pkg/domain
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
..
entities Improve ContainerEngine.ContainerWait() 2021-02-08 14:29:18 -05:00
filters Fix problems reported by staticcheck 2021-01-12 16:11:09 +01:00
infra make podman rmi more robust 2021-02-11 13:21:05 -05:00
utils Fixup issues found by golint 2020-06-10 05:49:41 -04:00