Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Volumes: Only remove from DB if plugin removal succeeds
Originally, Podman would unconditionally remove volumes from the DB, even if they failed to be removed from the volume plugin; this was a safety measure to ensure that `volume rm` can always remove a volume from the database, even if the plugin is misbehaving. However, this is a significant deivation from Docker, which refuses to remove if the plugin errors. These errors can be legitimate configuration issues which the user should address before the volume is removed, so Podman should also use this behaviour. Fixes containers#11214 Signed-off-by: Matthew Heon <[email protected]>
- Loading branch information