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.
1 parent 67bdb82 commit f5f4f49Copy full SHA for f5f4f49
cmd/docker-mcp/commands/gateway.go
@@ -68,10 +68,15 @@ func gatewayCommand(docker docker.Client) *cobra.Command {
68
options.Port = 8811
69
}
70
71
+ if options.Static && options.Watch {
72
+ return errors.New("cannot use --static with --watch")
73
+ }
74
+
75
// Append additional catalogs to the main catalog path
76
options.CatalogPath = append(options.CatalogPath, additionalCatalogs...)
77
options.RegistryPath = append(options.RegistryPath, additionalRegistries...)
78
options.ConfigPath = append(options.ConfigPath, additionalConfigs...)
79
80
return gateway.NewGateway(options, docker).Run(cmd.Context())
81
},
82
0 commit comments