mirror of https://github.com/docker/cli.git
809eb8cdee
The `docker images` top-level subcommand predates the `docker <object> <verb>` convention (e.g. `docker image ls`), but accepts a positional argument to search/filter images by name (globbing). It's common for users to accidentally mistake these commands, and to use (e.g.) `docker images ls`, expecting to see all images, but ending up with an empty list because no image named "ls" was found. Disallowing these search-terms would be a breaking change, but we can print and informational message to help the users correct their mistake. Before this patch: docker images ls REPOSITORY TAG IMAGE ID CREATED SIZE With this patch applied: docker images ls REPOSITORY TAG IMAGE ID CREATED SIZE No images found matching "ls": did you mean "docker image ls"? Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
Dockerfile.test | ||
gittar.test | ||
history-command-success.non-human.golden | ||
history-command-success.quiet-no-trunc.golden | ||
history-command-success.quiet.golden | ||
history-command-success.simple.golden | ||
import-command-success.input.txt | ||
inspect-command-success.format.golden | ||
inspect-command-success.simple-many.golden | ||
inspect-command-success.simple.golden | ||
list-command-ambiguous.golden | ||
list-command-success.filters.golden | ||
list-command-success.format.golden | ||
list-command-success.match-name.golden | ||
list-command-success.quiet-format.golden | ||
list-command-success.simple.golden | ||
load-command-success.input-file.golden | ||
load-command-success.input.txt | ||
load-command-success.json.golden | ||
load-command-success.simple.golden | ||
prune-command-success.all.golden | ||
prune-command-success.force-deleted.golden | ||
prune-command-success.force-untagged.golden | ||
prune-command-success.label-filter.golden | ||
pull-command-success.simple-no-tag.golden | ||
pull-command-success.simple-quiet.golden | ||
pull-command-success.simple.golden | ||
remove-command-success.Image Deleted and Untagged.golden | ||
remove-command-success.Image Deleted.golden | ||
remove-command-success.Image Untagged.golden | ||
remove-command-success.Image not found with force option.golden | ||
tar.test |