Skip to content

Added --dry-run option to image prune#28694

Open
zvenigorodsky wants to merge 2 commits into
containers:mainfrom
zvenigorodsky:27838
Open

Added --dry-run option to image prune#28694
zvenigorodsky wants to merge 2 commits into
containers:mainfrom
zvenigorodsky:27838

Conversation

@zvenigorodsky
Copy link
Copy Markdown

Partially resolving: #27838

Need to merge with containers/container-libs#843

When adding the --dry-run flag to image prune, it will display all images about to be deleted without deleting them

@ashley-cui
Copy link
Copy Markdown
Member

Thanks for the PR! I see there's more discussion in the container-images repo that's currently going on. Once that's resolved, please

  1. use a go mod replace directive (then make vendor) to point this pr to your container-libs branch to test the changes there
  2. update the documentation for this new option
  3. write a test here

@packit-as-a-service
Copy link
Copy Markdown

[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore.

Signed-off-by: Mark Zvenigorodsky <mark.zvenigorodsky@gmail.com>
Signed-off-by: Mark Zvenigorodsky <mark.zvenigorodsky@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants