buildx use

May 13, 2025 ยท View on GitHub

docker buildx use [OPTIONS] NAME

Set the current builder instance

Options

NameTypeDefaultDescription
--builderstringOverride the configured builder instance
-D, --debugboolEnable debug logging
--defaultboolSet builder as default for current context
--globalboolBuilder persists context changes

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.

Examples

Override the configured builder instance (--builder)

Same as buildx --builder.