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

rm: support removing multiple builders at once #2140

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

crazy-max
Copy link
Member

@crazy-max crazy-max commented Nov 25, 2023

Similar to docker rm, it gives the possibility to remove one or more builder instances at once.

@crazy-max crazy-max marked this pull request as ready for review November 27, 2023 10:11
commands/rm.go Outdated Show resolved Hide resolved
commands/rm.go Outdated Show resolved Hide resolved
if err != nil {
return err
}
eg, _ := errgroup.WithContext(ctx)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intentional that you are not passing the errgroup context to goroutines?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this is intentional so even if one builder removal fails, it will continue with the removal of the remaining builders.

@crazy-max crazy-max added this to the v0.13.0 milestone Dec 23, 2023
@tonistiigi tonistiigi merged commit 7c590ec into docker:master Jan 8, 2024
63 checks passed
@crazy-max crazy-max deleted the rm-multi branch January 8, 2024 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants