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> |
||
---|---|---|
.. | ||
build | ||
testdata | ||
build.go | ||
build_test.go | ||
client_test.go | ||
cmd.go | ||
formatter_history.go | ||
formatter_history_test.go | ||
history.go | ||
history_test.go | ||
import.go | ||
import_test.go | ||
inspect.go | ||
inspect_test.go | ||
list.go | ||
list_test.go | ||
load.go | ||
load_test.go | ||
prune.go | ||
prune_test.go | ||
pull.go | ||
pull_test.go | ||
push.go | ||
push_test.go | ||
remove.go | ||
remove_test.go | ||
save.go | ||
save_test.go | ||
tag.go | ||
tag_test.go | ||
trust.go | ||
trust_test.go |