Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
podman rmi: handle corrupted storage better
The storage can easily be corrupted when a build or pull process (or any process *writing* to the storage) has been killed. The corruption surfaces in Podman reporting that a given layer could not be found in the layer tree. Those errors must not be fatal but only logged, such that the image removal may continue. Otherwise, a user may be unable to remove an image. [NO TESTS NEEDED] as I do not yet have a reliable way to cause such a storage corruption. Reported-in: containers#8148 (comment) Signed-off-by: Valentin Rothberg <[email protected]>
- Loading branch information