We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
docker images
1 parent e286562 commit 7672399Copy full SHA for 7672399
cli/command/image/list.go
@@ -8,6 +8,7 @@ import (
8
9
"github.com/docker/cli/cli"
10
"github.com/docker/cli/cli/command"
11
+ "github.com/docker/cli/cli/command/completion"
12
"github.com/docker/cli/cli/command/formatter"
13
flagsHelper "github.com/docker/cli/cli/flags"
14
"github.com/docker/cli/opts"
@@ -50,6 +51,7 @@ func NewImagesCommand(dockerCLI command.Cli) *cobra.Command {
50
51
"category-top": "7",
52
"aliases": "docker image ls, docker image list, docker images",
53
},
54
+ ValidArgsFunction: completion.ImageNames(dockerCLI, 1),
55
}
56
57
flags := cmd.Flags()
0 commit comments