buildx_create
Set up a new builder for multi-platform Docker image builds. Specify driver, options, and bootstrap to customize the build environment.
Instructions
Create a new builder instance.
args:
name - Name for the new builder (defaults to a generated name)
driver - BuildKit driver (e.g. "docker-container", "kubernetes", "remote")
driver_opts - Driver-specific options (each becomes --driver-opt KEY=VALUE)
use - Set the new builder as the current one
bootstrap - Boot the builder immediately
platforms - Platforms the builder advertises
config - Path to a buildkitd config file
node_name - Node name within the builder (for multi-node builders)
append - Append a node to an existing builder named name
returns: dict - {"returncode": int, "stdout": str, "stderr": str, "truncated": bool}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| use | No | ||
| name | No | ||
| append | No | ||
| config | No | ||
| driver | No | ||
| bootstrap | No | ||
| node_name | No | ||
| platforms | No | ||
| driver_opts | No |