build: add "remove" to manage builders page

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-02-08 22:38:15 +01:00
parent 216416652f
commit 86cf54be0b
2 changed files with 23 additions and 13 deletions

View File

@ -97,6 +97,28 @@ Reclaimable: 2.01GB
Total: 2.01GB
```
## Remove a builder
Use the
[`docker buildx remove`](../../engine/reference/commandline/buildx_create.md)
command to remove a builder.
```console
$ docker buildx rm <builder-name>
```
If you remove your currently selected builder,
the default `docker` builder is automatically selected.
You can't remove the default builder.
Local build cache for the builder is also removed.
### Removing remote builders
Removing a remote builder doesn't affect the remote build cache.
It also doesn't stop the remote BuildKit daemon.
It only removes your connection to the builder.
## Manage builders with Docker Desktop
If you have turned on the
@ -105,4 +127,4 @@ you can inspect builders in Docker Desktop settings. See:
- [Change settings, Windows](../../desktop/settings/windows.md#builders)
- [Change settings, Mac](../../desktop/settings/mac.md#builders)
- [Change settings, Linux](../../desktop/settings/linux.md#builders)
- [Change settings, Linux](../../desktop/settings/linux.md#builders)

View File

@ -15,18 +15,6 @@ aliases:
- [Can I use Docker Build Cloud with a registry behind a VPN?](#can-i-use-docker-build-cloud-with-a-registry-behind-a-vpn)
<!--toc:end-->
### How do I remove Docker Build Cloud from my system?
If you want to stop using Docker Build Cloud, remove the cloud builder using
the `docker buildx rm` command.
```console
$ docker buildx rm cloud-<ORG>-default
```
This doesn't deprovision the builder backend, it only removes the builder from
your local Docker client.
### Are builders shared between organizations?
No. Each cloud builder provisioned to an organization is completely