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 8228108 commit 0fdbc75Copy full SHA for 0fdbc75
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"
@@ -52,6 +53,7 @@ func newImagesCommand(dockerCLI command.Cli) *cobra.Command {
52
53
"aliases": "docker image ls, docker image list, docker images",
54
},
55
DisableFlagsInUseLine: true,
56
+ ValidArgsFunction: completion.ImageNames(dockerCLI, 1),
57
}
58
59
flags := cmd.Flags()
0 commit comments