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 5bce5e1 + 5bf3c67 commit 06ed23dCopy full SHA for 06ed23d
cli/command/image/pull.go
@@ -38,7 +38,9 @@ func newPullCommand(dockerCLI command.Cli) *cobra.Command {
38
"category-top": "5",
39
"aliases": "docker image pull, docker pull",
40
},
41
- ValidArgsFunction: cobra.NoFileCompletions,
+ // Complete with local images to help pulling the latest version
42
+ // of images that are in the image cache.
43
+ ValidArgsFunction: completion.ImageNames(dockerCLI, 1),
44
DisableFlagsInUseLine: true,
45
}
46
0 commit comments