buildx

March 23, 2026 ยท View on GitHub

docker buildx [OPTIONS] COMMAND

Extended build capabilities with BuildKit

Subcommands

NameDescription
bakeBuild from a file
buildStart a build
createCreate a new builder instance
dapStart debug adapter protocol compatible debugger
debugStart debugger (EXPERIMENTAL)
dial-stdioProxy current stdio streams to builder instance
duDisk usage
historyCommands to work on build records
imagetoolsCommands to work on images in registry
inspectInspect current builder instance
lsList builder instances
policyCommands for working with build policies
pruneRemove build cache
rmRemove one or more builder instances
stopStop builder instance
useSet the current builder instance
versionShow buildx version information

Options

NameTypeDefaultDescription
--builderstringOverride the configured builder instance
-D, --debugboolEnable debug logging

Examples

Override the configured builder instance (--builder)

You can also use the BUILDX_BUILDER environment variable.