spiegel_podman/pkg/domain/infra/abi
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
..
parse Fix missing options in volumes display while setting uid and gid 2020-12-23 09:13:20 +08:00
terminal When container stops, drop sig-proxy errors to infos 2020-10-30 09:23:47 -04:00
archive.go libpod: add (*Container).ResolvePath() 2021-01-29 15:23:56 -05:00
auto-update.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
containers.go Improve ContainerEngine.ContainerWait() 2021-02-08 14:29:18 -05:00
containers_runlabel.go Fix panic when runlabel is missing 2020-10-16 11:09:21 +08:00
containers_stat.go libpod: add (*Container).ResolvePath() 2021-01-29 15:23:56 -05:00
events.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
generate.go generate kube on multiple containers 2020-12-07 11:34:39 -06:00
healthcheck.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
images.go make podman rmi more robust 2021-02-11 13:21:05 -05:00
images_list.go image list: ignore bare manifest list 2021-01-11 19:15:33 +01:00
images_test.go V2 podman command 2020-03-18 16:41:12 -07:00
manifest.go Allow podman push to push manifest lists 2021-01-15 13:24:34 -05:00
network.go Implement pod-network-reload 2020-12-07 19:26:23 +01:00
play.go Ensure that podman play kube actually reports errors 2021-01-11 09:30:35 -05:00
play_test.go migrate play kube to spec gen 2020-11-10 07:55:24 -06:00
pods.go Add Networks format placeholder to podman ps and pod ps 2021-01-09 19:15:43 +01:00
pods_stats.go Add 'MemUsageBytes' format option 2021-01-12 23:38:08 +00:00
runtime.go Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
system.go Initial implementation of volume plugins 2021-01-14 15:35:33 -05:00
trust.go Remove excessive error wrapping 2020-10-05 15:30:37 -07:00
volumes.go Initial implementation of volume plugins 2021-01-14 15:35:33 -05:00