Description of problem: While doing the dry run, the result is not as expected. The IS has more than 3 tags still there are none seen in the image prune dry run. # oc adm prune images --keep-tag-revisions=2 --confirm=false --namespace openshift --force-insecure=true Dry run enabled - no modifications will be made. Add --confirm to remove images Deleted 0 objects. Version-Release number of selected component (if applicable): 3.11 How reproducible: Very Steps to Reproduce: $ oc adm prune images --keep-tag-revisions=2 --confirm=false --namespace openshift --force-insecure=true Actual results: Not showing the expected tags. Expected results: This should show the images which are supposed to be pruned Additional info:
`oc adm prune images` does not delete image stream tags. It deletes history of the tag. For example, when you push a new image to the image stream tag `latest`, you still can pull the previous image. The pruner can delete this previous image if it is not used by any pod. How many historical images (revisions) does each tag have? If less than 3, then it works as expected.