diff --git a/cli/command/container/completion.go b/cli/command/container/completion.go index df17e49d99..d27d188045 100644 --- a/cli/command/container/completion.go +++ b/cli/command/container/completion.go @@ -101,6 +101,7 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) { _ = cmd.RegisterFlagCompletionFunc("ipc", completeIpc(dockerCli)) _ = cmd.RegisterFlagCompletionFunc("isolation", completion.NoComplete) _ = cmd.RegisterFlagCompletionFunc("kernel-memory", completion.NoComplete) + _ = cmd.RegisterFlagCompletionFunc("label", completion.NoComplete) _ = cmd.RegisterFlagCompletionFunc("network", completion.NetworkNames(dockerCli)) _ = cmd.RegisterFlagCompletionFunc("platform", completion.Platforms) _ = cmd.RegisterFlagCompletionFunc("pull", completion.FromList(PullImageAlways, PullImageMissing, PullImageNever))