Skip to content

Commit 61c4568

Browse files
committed
install/uninstall: unhide
The install/uninstall commands were introduced in PR 34 (Apr 2019) as hidden commands. These commands should no longer be hidden, as they have been explicitly documented since docker/docs PR 21641 (Dec 2024). https://docs.docker.com/build/builders/#difference-between-docker-build-and-docker-buildx-build Signed-off-by: Akihiro Suda <[email protected]>
1 parent 67218be commit 61c4568

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

commands/install.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ func installCmd(dockerCli command.Cli) *cobra.Command {
4747
RunE: func(cmd *cobra.Command, args []string) error {
4848
return runInstall(dockerCli, options)
4949
},
50-
Hidden: true,
5150
ValidArgsFunction: completion.Disable,
5251
DisableFlagsInUseLine: true,
5352
}

commands/uninstall.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ func uninstallCmd(dockerCli command.Cli) *cobra.Command {
5353
RunE: func(cmd *cobra.Command, args []string) error {
5454
return runUninstall(dockerCli, options)
5555
},
56-
Hidden: true,
5756
ValidArgsFunction: completion.Disable,
5857
DisableFlagsInUseLine: true,
5958
}

docs/reference/buildx.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ Extended build capabilities with BuildKit
2121
| [`history`](buildx_history.md) | Commands to work on build records |
2222
| [`imagetools`](buildx_imagetools.md) | Commands to work on images in registry |
2323
| [`inspect`](buildx_inspect.md) | Inspect current builder instance |
24+
| [`install`](buildx_install.md) | Install buildx as a 'docker builder' alias |
2425
| [`ls`](buildx_ls.md) | List builder instances |
2526
| [`prune`](buildx_prune.md) | Remove build cache |
2627
| [`rm`](buildx_rm.md) | Remove one or more builder instances |
2728
| [`stop`](buildx_stop.md) | Stop builder instance |
29+
| [`uninstall`](buildx_uninstall.md) | Uninstall the 'docker builder' alias |
2830
| [`use`](buildx_use.md) | Set the current builder instance |
2931
| [`version`](buildx_version.md) | Show buildx version information |
3032

0 commit comments

Comments
 (0)