docker buildx use
Set the current builder instance
Usage
$ docker buildx use [OPTIONS] NAME
Refer to the options section for an overview of available OPTIONS for this command.
Description
Switches the current builder instance. Build commands invoked after this command will run on a specified builder. Alternatively, a context name can be used to switch to the default builder of that context.
For example uses of this command, refer to the examples section below.
Options
| Name, shorthand | Default | Description |
--default |
Set builder as default for current context | |
--global |
Builder persists context changes | |
--builder |
Override the configured builder instance |
Examples
Override the configured builder instance (--builder)
Same as buildx --builder.
Parent command
| Command | Description |
|---|---|
| docker buildx | Docker Buildx |
Related commands
| Command | Description |
| docker buildx bake | Build from a file |
| docker buildx build | Start a build |
| docker buildx create | Create a new builder instance |
| docker buildx du | Disk usage |
| docker buildx imagetools | Commands to work on images in registry |
| docker buildx inspect | Inspect current builder instance |
| docker buildx ls | List builder instances |
| docker buildx prune | Remove build cache |
| docker buildx rm | Remove a builder instance |
| docker buildx stop | Stop builder instance |
| docker buildx use | Set the current builder instance |
| docker buildx version | Show buildx version information |