diff --git a/commands/install.go b/commands/install.go index fbfe543822db..fc334eb1d874 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 b401dc7244aa..29b3dc32419e 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,