diff --git a/commands/install.go b/commands/install.go index fbfe54382..fc334eb1d 100644 --- a/commands/install.go +++ b/commands/install.go @@ -47,6 +47,7 @@ func installCmd(dockerCli command.Cli) *cobra.Command { RunE: func(cmd *cobra.Command, args []string) error { return runInstall(dockerCli, options) }, + Deprecated: "use 'docker buildx' directly, without relying on the 'docker builder' alias", Hidden: true, ValidArgsFunction: completion.Disable, DisableFlagsInUseLine: true, diff --git a/commands/uninstall.go b/commands/uninstall.go index b401dc724..29b3dc324 100644 --- a/commands/uninstall.go +++ b/commands/uninstall.go @@ -53,6 +53,7 @@ func uninstallCmd(dockerCli command.Cli) *cobra.Command { RunE: func(cmd *cobra.Command, args []string) error { return runUninstall(dockerCli, options) }, + Deprecated: "use 'docker buildx' directly, without relying on the 'docker builder' alias", Hidden: true, ValidArgsFunction: completion.Disable, DisableFlagsInUseLine: true,