containers-storage-delete-image1
Delete an image
Usage
containers-storage delete-image
imageNameOrID
Overview
Deletes an image if it is not currently being used by any containers. If the image's top layer is not being used by any other images, it will be removed. If that image's parent is then not being used by other images, it, too, will be removed, and this will be repeated for each parent's parent.
Examples
containers-storage delete-image my-base-image
Releases
4 releases since Debian 11 (Bullseye); the text changed 2 times.