Skip to content

feat: add image prune to clean up leftover images - #128

Merged
josegonzalez merged 1 commit into
mainfrom
127-cleanup-old-docker-images
Jul 22, 2026
Merged

feat: add image prune to clean up leftover images#128
josegonzalez merged 1 commit into
mainfrom
127-cleanup-old-docker-images

Conversation

@josegonzalez

Copy link
Copy Markdown
Member

Adds an image prune command that removes images left over from previous builds of a compose project. It keeps the image currently referenced by each service and skips images still in use by a container, scoping cleanup to the project via the compose project label so pulled base images and other projects are never touched. A --prune-images flag on deploy runs the same cleanup after a successful deploy.

Closes #127

Adds an `image prune` command that removes images left over from previous builds of a compose project. It keeps the image currently referenced by each service and skips images still in use by a container, scoping cleanup to the project via the compose project label so pulled base images and other projects are never touched. A `--prune-images` flag on `deploy` runs the same cleanup after a successful deploy.
@josegonzalez
josegonzalez merged commit 25a3e04 into main Jul 22, 2026
9 of 10 checks passed
@josegonzalez
josegonzalez deleted the 127-cleanup-old-docker-images branch July 22, 2026 09:34
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.

Cleanup old docker images

1 participant