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.
2 parents b89b069 + b3df920 commit 3cadbd8Copy full SHA for 3cadbd8
cli/command/image/pull.go
@@ -46,7 +46,9 @@ func newPullCommand(dockerCLI command.Cli) *cobra.Command {
46
"category-top": "5",
47
"aliases": "docker image pull, docker pull",
48
},
49
- ValidArgsFunction: cobra.NoFileCompletions,
+ // Complete with local images to help pulling the latest version
50
+ // of images that are in the image cache.
51
+ ValidArgsFunction: completion.ImageNames(dockerCLI, 1),
52
}
53
54
flags := cmd.Flags()
0 commit comments