container: T7403: add "force" option to "delete container image" (#1663)

(cherry picked from commit 1f5ad605bc854f60565666a9e5d1a06488594732)

Co-authored-by: Christian Breunig <christian@breunig.cc>
This commit is contained in:
mergify[bot] 2025-08-02 18:27:21 +01:00 committed by GitHub
parent 6ec864e8d3
commit 723f4fd402
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -261,11 +261,15 @@ Operation Commands
Update container image
.. opcmd:: delete container image [image id|all]
.. opcmd:: delete container image <image id|all> [force]
Delete a particular container image based on it's image ID.
You can also delete all container images at once.
You can not delete a container image if it has more then one tag
assigned, this is why there is a `force` option to pass down to
the container image to also remove those images.
*********************
Example Configuration
*********************