Share feedback
Answers are generated based on the documentation.

docker buildx

DescriptionDocker Buildx
Usagedocker buildx

Description

Extended build capabilities with BuildKit

Options

OptionDefaultDescription
--builderOverride the configured builder instance
-D, --debugEnable debug logging

Examples

Override the configured builder instance (--builder)

You can also use the BUILDX_BUILDER environment variable.

Enable the default policy

Set BUILDX_DEFAULT_POLICY=1 to enable Buildx's built-in source policy. The policy verifies signed tags for images managed by Docker, including BuildKit builder images and Dockerfile frontends. Untagged digest references and images outside the managed repositories are allowed unchanged. Tagged references that also contain a digest still have their release identity verified.

Subcommands

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