Add docker run image:tag completion support#229
Merged
Conversation
Add run_image_with_tags generator that uses command_from_tokens to detect the colon separator in the current token. When a colon is present (e.g. 'nginx:'), it lists available tags for that specific image. Without a colon, it falls back to listing all images with metadata (same as the previous behavior). Updated both 'docker run' and 'docker container run' specs to use the new generator. Resolves APP-3480 Co-Authored-By: Oz <oz-agent@warp.dev>
Co-Authored-By: Oz <oz-agent@warp.dev>
APP-3480 [Docker] Handle image:tag colon-delimited pattern in docker run
See GitHub #4489 |
Replace old screenshots with comprehensive re-validation tests: - docker run <Tab> (image name completions) - docker run nginx:<Tab> (tag completions) - docker image history <Tab> (image name completions) - docker image history nginx:<Tab> (tag completions) Co-Authored-By: Oz <oz-agent@warp.dev>
Contributor
Author
Re-validation of
|
Contributor
Author
vkodithala
approved these changes
Apr 3, 2026
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.








Summary
Handle the
image:tagcolon-delimited pattern indocker runcompletions. When a user typesdocker run <image>:<TAB>, the completions menu now suggests available tags for that image.Resolves APP-3480
Changes
run_image_with_tagsindocker.rs: Usescommand_from_tokensto detect a colon in the current token.docker run <TAB>): Lists all images with metadata (same as previous behavior)docker run nginx:<TAB>): Extracts the image name and lists available local tags for that imageScreenshots
docker run <TAB>— Image listing (normal mode)docker run alpine:<TAB>— Tag completiondocker run nginx:<TAB>— Tag completionTesting
script/presubmit)Conversation: https://staging.warp.dev/conversation/54b392e1-150a-464c-b621-8e1e53af592c
Run: https://oz.staging.warp.dev/runs/019d4b05-f012-73e8-9a12-cac1c5d45b82
This PR was generated with Oz.