docker buildx [OPTIONS] COMMAND
Extended build capabilities with BuildKit
| Name | Description |
|---|---|
bake |
Build from a file |
build |
Start a build |
create |
Create a new builder instance |
dap |
Start debug adapter protocol compatible debugger |
debug |
Start debugger (EXPERIMENTAL) |
dial-stdio |
Proxy current stdio streams to builder instance |
du |
Disk usage |
history |
Commands to work on build records |
imagetools |
Commands to work on images in registry |
inspect |
Inspect current builder instance |
ls |
List builder instances |
policy |
Commands for working with build policies |
prune |
Remove build cache |
rm |
Remove one or more builder instances |
stop |
Stop builder instance |
use |
Set the current builder instance |
version |
Show buildx version information |
| Name | Type | Default | Description |
|---|---|---|---|
--builder |
string |
Override the configured builder instance | |
-D, --debug |
bool |
Enable debug logging |
You can also use the BUILDX_BUILDER environment variable.
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.