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 all Docker images (not just dangling ones) in clean-executor.sh #301

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

MattMcL4475
Copy link
Collaborator

@MattMcL4475 MattMcL4475 commented Jul 20, 2023

#305

Previously, the script was not specifying to prune "all" the images:
https://docs.docker.com/engine/reference/commandline/system_prune/

This may not have any effect, since the containers are deleted in the previous command, and therefore all images are considered dangling, however, it's prudent to include it in the event of an edge case

@MattMcL4475 MattMcL4475 requested a review from BMurri July 20, 2023 16:53
@MattMcL4475 MattMcL4475 marked this pull request as ready for review July 20, 2023 16:54
@MattMcL4475 MattMcL4475 requested a review from giventocode July 20, 2023 16:55
@MattMcL4475 MattMcL4475 merged commit 5bf2641 into main Jul 21, 2023
@MattMcL4475 MattMcL4475 deleted the mattmcl4475/pruneAllDockerSystemImages branch July 21, 2023 17:29
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