Support --filter
flag in podman image prune
#4411
Labels
Good First Issue
This issue would be a good issue for a first time contributor to undertake.
kind/feature
Categorizes issue or PR as related to a new feature.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
/kind feature
Description
Docker CLI has a
--filter
flag for thedocker image prune
command. So for podman to be compatible with docker, especially in scripts, at least it would be better not to show an error:Steps to reproduce the issue:
podman image prune --filter "until=12h"
Describe the results you received:
Error: unknown flag: --filter
Describe the results you expected:
Should not throw an error on
--filter
, moreover, it should support specifying the flag multiple times, and it should support filtering itself.The text was updated successfully, but these errors were encountered: