Images subcommand (pull/check/upgrade)#48
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dockform images
Track image freshness across your Docker Compose stacks.
What it does
Scans every service image in every stack and compares against upstream registries to check two things:
nginx:1.29now points to a new digest.tag_pattern?Subcommands
dockform images check: read-only scan. Shows rows that need attention (upgrade available or digest drift) and an optional--allview of up-to-date images. Use--jsonfor machine-readable output.dockform images pull: pulls images with digest drift (same tag, new content) on the remote daemon. Use--recreateto restart affected containers, or--dry-runto preview.dockform images upgrade: rewrites image tags in your compose files to the newest matching version. Use--dry-runto preview.Configuration
Per-stack in the manifest:
Note
Without a
tag_pattern, only digest drift is checked. The row renders as "up to date · no tag_pattern" with a footer explaining how to enable tag tracking.