build(cloud): move unset default builder to usage

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson 2024-02-08 22:41:44 +01:00
parent 312584c2d9
commit 993fb4ea94
2 changed files with 13 additions and 9 deletions

View File

@ -25,15 +25,6 @@ For more information, refer to:
- [`docker buildx build --secret`](/engine/reference/commandline/buildx_build/#secret)
- [`docker buildx build --ssh`](/engine/reference/commandline/buildx_build/#ssh)
### How do I unset Docker Build Cloud as the default builder?
If you've set a cloud builder as the default builder and want to revert to using the
default `docker` builder, run the following command:
```console
$ docker context use default
```
### How do I manage the build cache with Docker Build Cloud?
You don't need to manage the builder's cache manually. The system manages it

View File

@ -130,3 +130,16 @@ Teams using a shared builder get access to information such as:
This lets you and your team work collaboratively on troubleshooting and
improving build speeds, without having to send build logs and benchmarks back
and forth between each other.
## Unset Docker Build Cloud as the default builder
If you've set a cloud builder as the default builder
and want to revert to the default `docker` builder,
run the following command:
```console
$ docker context use default
```
This doesn't remove the builder from your system.
It only changes the builder that's automatically selected to run your builds.