Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prune: allow negative and prefix filters #2473

Merged
merged 1 commit into from
May 28, 2024

Conversation

tonistiigi
Copy link
Member

This allows negative prune filters, eg. docker buildx prune --filter 'type!=exec.cachemount'

The patch slightly abuses how the docker/api/types/filters package can't understand these separators but alternative would have been to create another package that is a mix of Docker and Containerd filter style.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@tonistiigi tonistiigi merged commit 2e7da01 into docker:master May 28, 2024
102 checks passed
@thompson-shaun thompson-shaun added the kind/enhancement New feature or request label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants