diff --git a/cli/command/config/create.go b/cli/command/config/create.go index 17cb4184f3..863c41c1b7 100644 --- a/cli/command/config/create.go +++ b/cli/command/config/create.go @@ -41,7 +41,7 @@ func newConfigCreateCommand(dockerCli command.Cli) *cobra.Command { flags := cmd.Flags() flags.VarP(&createOpts.Labels, "label", "l", "Config labels") flags.StringVar(&createOpts.TemplateDriver, "template-driver", "", "Template driver") - flags.SetAnnotation("driver", "version", []string{"1.37"}) + flags.SetAnnotation("template-driver", "version", []string{"1.37"}) return cmd }