buildx
March 23, 2026 ยท View on GitHub
docker buildx [OPTIONS] COMMAND
Extended build capabilities with BuildKit
Subcommands
| 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 |
Options
| Name | Type | Default | Description |
|---|---|---|---|
--builder | string | Override the configured builder instance | |
-D, --debug | bool | Enable debug logging |
Examples
Override the configured builder instance (--builder)
You can also use the BUILDX_BUILDER environment variable.