diff --git a/cli/command/container/completion.go b/cli/command/container/completion.go index 20285212de..3b3f07739a 100644 --- a/cli/command/container/completion.go +++ b/cli/command/container/completion.go @@ -123,6 +123,7 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) { _ = cmd.RegisterFlagCompletionFunc("pull", completion.FromList(PullImageAlways, PullImageMissing, PullImageNever)) _ = cmd.RegisterFlagCompletionFunc("restart", completeRestartPolicies) _ = cmd.RegisterFlagCompletionFunc("runtime", completion.NoComplete) + _ = cmd.RegisterFlagCompletionFunc("security-opt", completion.NoComplete) // TODO refine _ = cmd.RegisterFlagCompletionFunc("stop-signal", completeSignals) _ = cmd.RegisterFlagCompletionFunc("volumes-from", completion.ContainerNames(dockerCli, true)) }