docker buildx
| Description | Docker Buildx |
|---|---|
| Usage | docker buildx |
Description
Extended build capabilities with BuildKit
Options
| Option | Default | Description |
|---|---|---|
--builder | Override the configured builder instance | |
-D, --debug | Enable 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
| Command | Description |
|---|---|
docker buildx bake | Build from a file |
docker buildx build | Start a build |
docker buildx create | Create a new builder instance |
docker buildx dap | Start debug adapter protocol compatible debugger |
docker buildx debug | Start debugger |
docker buildx dial-stdio | Proxy current stdio streams to builder instance |
docker buildx du | Disk usage |
docker buildx history | Commands to work on build records |
docker buildx imagetools | Commands to work on images in registry |
docker buildx inspect | Inspect current builder instance |
docker buildx ls | List builder instances |
docker buildx policy | Commands for working with build policies |
docker buildx prune | Remove build cache |
docker buildx rm | Remove one or more builder instances |
docker buildx stop | Stop builder instance |
docker buildx use | Set the current builder instance |
docker buildx version | Show buildx version information |