Merge pull request #3472 from AkihiroSuda/deprecate-install
deprecate `docker buildx install` and `docker buildx uninstall`
This commit is contained in:
@@ -47,6 +47,7 @@ func installCmd(dockerCli command.Cli) *cobra.Command {
|
|||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
return runInstall(dockerCli, options)
|
return runInstall(dockerCli, options)
|
||||||
},
|
},
|
||||||
|
Deprecated: "use 'docker buildx' directly, without relying on the 'docker builder' alias",
|
||||||
Hidden: true,
|
Hidden: true,
|
||||||
ValidArgsFunction: completion.Disable,
|
ValidArgsFunction: completion.Disable,
|
||||||
DisableFlagsInUseLine: true,
|
DisableFlagsInUseLine: true,
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ func uninstallCmd(dockerCli command.Cli) *cobra.Command {
|
|||||||
RunE: func(cmd *cobra.Command, args []string) error {
|
RunE: func(cmd *cobra.Command, args []string) error {
|
||||||
return runUninstall(dockerCli, options)
|
return runUninstall(dockerCli, options)
|
||||||
},
|
},
|
||||||
|
Deprecated: "use 'docker buildx' directly, without relying on the 'docker builder' alias",
|
||||||
Hidden: true,
|
Hidden: true,
|
||||||
ValidArgsFunction: completion.Disable,
|
ValidArgsFunction: completion.Disable,
|
||||||
DisableFlagsInUseLine: true,
|
DisableFlagsInUseLine: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user