Skip to content
Fresh

docker buildx use

Back

Reference

docker buildx use

Copy as Markdown

Open MarkdownAsk Docs AIClaudeOpen in Claude

| Description | Set the current builder instance | | Usage | docker buildx use [OPTIONS] NAME |

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.

Options

OptionDefaultDescription
--defaultSet builder as default for current context
--globalBuilder persists context changes

Examples

Override the configured builder instance (--builder)

Same as buildx --builder.