Files

2061 lines
56 KiB
JSON

{
"_format": "scaffold_schema",
"tool": "Docker Buildx",
"binary": "docker",
"description": "Extended build capabilities with BuildKit.",
"elevated": null,
"subcommands": [
{
"name": "buildx build",
"description": "Start a build",
"arguments": [
{
"name": "Add Host",
"flag": "--add-host",
"short_flag": null,
"type": "string",
"description": "Add a custom host-to-IP mapping",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"host.docker.internal:host-gateway"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Allow",
"flag": "--allow",
"short_flag": null,
"type": "string",
"description": "Allow extra privileged entitlement (e.g., network.host, security.insecure)",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"network.host",
"security.insecure"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Annotation",
"flag": "--annotation",
"short_flag": null,
"type": "string",
"description": "Add annotation to the image",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Attest",
"flag": "--attest",
"short_flag": null,
"type": "string",
"description": "Attestation parameters (type=sbom,generator=image)",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"type=sbom",
"type=provenance,mode=max"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Build Arg",
"flag": "--build-arg",
"short_flag": null,
"type": "string",
"description": "Set build-time variables",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"HTTP_PROXY=http://proxy:3128",
"VERSION=1.0"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Build Context",
"flag": "--build-context",
"short_flag": null,
"type": "string",
"description": "Additional build contexts (e.g., name=path)",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Cache From",
"flag": "--cache-from",
"short_flag": null,
"type": "string",
"description": "External cache sources",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"type=registry,ref=myimage:cache",
"type=local,src=/tmp/.buildx-cache"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Cache To",
"flag": "--cache-to",
"short_flag": null,
"type": "string",
"description": "Cache export destinations",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"type=registry,ref=myimage:cache",
"type=local,dest=/tmp/.buildx-cache"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Cgroup Parent",
"flag": "--cgroup-parent",
"short_flag": null,
"type": "string",
"description": "Set the parent cgroup for the RUN instructions",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Detach",
"flag": "--detach",
"short_flag": null,
"type": "boolean",
"description": "Detach buildx server",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "File",
"flag": "--file",
"short_flag": "-f",
"type": "file",
"description": "Name of the Dockerfile",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Iidfile",
"flag": "--iidfile",
"short_flag": null,
"type": "string",
"description": "Write the image ID to a file",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Label",
"flag": "--label",
"short_flag": null,
"type": "string",
"description": "Set metadata for an image",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Load",
"flag": "--load",
"short_flag": null,
"type": "boolean",
"description": "Shorthand for --output=type=docker",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Metadata File",
"flag": "--metadata-file",
"short_flag": null,
"type": "string",
"description": "Write build result metadata to a file",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Network",
"flag": "--network",
"short_flag": null,
"type": "string",
"description": "Set the networking mode for the RUN instructions",
"required": false,
"default": "default",
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"host",
"none",
"default"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "No Cache",
"flag": "--no-cache",
"short_flag": null,
"type": "boolean",
"description": "Do not use cache when building the image",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "No Cache Filter",
"flag": "--no-cache-filter",
"short_flag": null,
"type": "string",
"description": "Do not cache specified stages",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Output",
"flag": "--output",
"short_flag": "-o",
"type": "string",
"description": "Output destination (format: type=local,dest=path)",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"type=local,dest=./out",
"type=tar,dest=out.tar",
"type=registry"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Platform",
"flag": "--platform",
"short_flag": null,
"type": "string",
"description": "Set target platform for build",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"linux/amd64",
"linux/arm64",
"linux/amd64,linux/arm64"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Progress",
"flag": "--progress",
"short_flag": null,
"type": "enum",
"description": "Set type of progress output",
"required": false,
"default": "auto",
"choices": [
"auto",
"plain",
"tty",
"rawjson",
"quiet"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Provenance",
"flag": "--provenance",
"short_flag": null,
"type": "string",
"description": "Shorthand for --attest=type=provenance",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Pull",
"flag": "--pull",
"short_flag": null,
"type": "boolean",
"description": "Always attempt to pull all referenced images",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Push",
"flag": "--push",
"short_flag": null,
"type": "boolean",
"description": "Shorthand for --output=type=registry",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "SBOM",
"flag": "--sbom",
"short_flag": null,
"type": "string",
"description": "Shorthand for --attest=type=sbom",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Secret",
"flag": "--secret",
"short_flag": null,
"type": "string",
"description": "Secret to expose to the build (format: id=mysecret,src=/secret/file)",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"id=mysecret,src=./secret.txt"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "SHM Size",
"flag": "--shm-size",
"short_flag": null,
"type": "string",
"description": "Shared memory size for build containers",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"256m",
"1g"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "SSH",
"flag": "--ssh",
"short_flag": null,
"type": "string",
"description": "SSH agent socket or keys to expose to the build",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"default",
"id=mykey,src=~/.ssh/id_rsa"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Tag",
"flag": "--tag",
"short_flag": "-t",
"type": "string",
"description": "Name and optionally a tag (name:tag)",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"myimage:latest",
"registry.example.com/myimage:v1.0"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Target",
"flag": "--target",
"short_flag": null,
"type": "string",
"description": "Set the target build stage to build",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Ulimit",
"flag": "--ulimit",
"short_flag": null,
"type": "string",
"description": "Ulimit options",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"nofile=1024:2048"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Path",
"flag": "PATH",
"short_flag": null,
"type": "string",
"description": "Build context path or URL",
"required": true,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": true,
"validation": null,
"examples": [
".",
"https://github.com/user/repo.git"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "buildx bake",
"description": "Build from a file",
"arguments": [
{
"name": "File",
"flag": "--file",
"short_flag": "-f",
"type": "file",
"description": "Build definition file",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Load",
"flag": "--load",
"short_flag": null,
"type": "boolean",
"description": "Shorthand for --set=*.output=type=docker",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Metadata File",
"flag": "--metadata-file",
"short_flag": null,
"type": "string",
"description": "Write build result metadata to a file",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "No Cache",
"flag": "--no-cache",
"short_flag": null,
"type": "boolean",
"description": "Do not use cache when building the image",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Print",
"flag": "--print",
"short_flag": null,
"type": "boolean",
"description": "Print the options without building",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Progress",
"flag": "--progress",
"short_flag": null,
"type": "enum",
"description": "Set type of progress output",
"required": false,
"default": "auto",
"choices": [
"auto",
"plain",
"tty",
"rawjson",
"quiet"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Provenance",
"flag": "--provenance",
"short_flag": null,
"type": "string",
"description": "Shorthand for --set=*.attest=type=provenance",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Pull",
"flag": "--pull",
"short_flag": null,
"type": "boolean",
"description": "Always attempt to pull all referenced images",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Push",
"flag": "--push",
"short_flag": null,
"type": "boolean",
"description": "Shorthand for --set=*.output=type=registry",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "SBOM",
"flag": "--sbom",
"short_flag": null,
"type": "string",
"description": "Shorthand for --set=*.attest=type=sbom",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Set",
"flag": "--set",
"short_flag": null,
"type": "string",
"description": "Override target value (e.g., targetpattern.key=value)",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"*.platform=linux/amd64",
"target.args.FOO=bar"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "buildx create",
"description": "Create a new builder instance",
"arguments": [
{
"name": "Append",
"flag": "--append",
"short_flag": null,
"type": "boolean",
"description": "Append a node to builder instead of changing it",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Bootstrap",
"flag": "--bootstrap",
"short_flag": null,
"type": "boolean",
"description": "Boot builder after creation",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Buildkit Config",
"flag": "--buildkitd-config",
"short_flag": null,
"type": "file",
"description": "BuildKit daemon config file",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Buildkit Flags",
"flag": "--buildkitd-flags",
"short_flag": null,
"type": "string",
"description": "BuildKit daemon flags",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Driver",
"flag": "--driver",
"short_flag": null,
"type": "enum",
"description": "Driver to use",
"required": false,
"default": null,
"choices": [
"docker",
"docker-container",
"kubernetes",
"remote"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Driver Opt",
"flag": "--driver-opt",
"short_flag": null,
"type": "string",
"description": "Options for the driver",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Leave",
"flag": "--leave",
"short_flag": null,
"type": "boolean",
"description": "Remove a node from builder instead of changing it",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Name",
"flag": "--name",
"short_flag": null,
"type": "string",
"description": "Builder instance name",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Node",
"flag": "--node",
"short_flag": null,
"type": "string",
"description": "Create/modify node with given name",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Platform",
"flag": "--platform",
"short_flag": null,
"type": "string",
"description": "Fixed platforms for current node",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"linux/amd64",
"linux/arm64"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Use",
"flag": "--use",
"short_flag": null,
"type": "boolean",
"description": "Set the current builder instance",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "buildx inspect",
"description": "Inspect current builder instance",
"arguments": [
{
"name": "Bootstrap",
"flag": "--bootstrap",
"short_flag": null,
"type": "boolean",
"description": "Ensure builder has booted before inspecting",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Builder",
"flag": "--builder",
"short_flag": null,
"type": "string",
"description": "Override the configured builder instance",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "buildx ls",
"description": "List builder instances",
"arguments": [
{
"name": "Format",
"flag": "--format",
"short_flag": null,
"type": "enum",
"description": "Format output",
"required": false,
"default": "table",
"choices": [
"table",
"json"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "buildx rm",
"description": "Remove one or more builder instances",
"arguments": [
{
"name": "All Inactive",
"flag": "--all-inactive",
"short_flag": null,
"type": "boolean",
"description": "Remove all inactive builders",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Builder",
"flag": "--builder",
"short_flag": null,
"type": "string",
"description": "Override the configured builder instance",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Force",
"flag": "--force",
"short_flag": "-f",
"type": "boolean",
"description": "Do not prompt for confirmation",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Keep Daemon",
"flag": "--keep-daemon",
"short_flag": null,
"type": "boolean",
"description": "Keep the BuildKit daemon running",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Keep State",
"flag": "--keep-state",
"short_flag": null,
"type": "boolean",
"description": "Keep BuildKit state",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "buildx stop",
"description": "Stop builder instance",
"arguments": [
{
"name": "Builder",
"flag": "--builder",
"short_flag": null,
"type": "string",
"description": "Override the configured builder instance",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "buildx use",
"description": "Set the current builder instance",
"arguments": [
{
"name": "Default",
"flag": "--default",
"short_flag": null,
"type": "boolean",
"description": "Set builder as default for current context",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Global",
"flag": "--global",
"short_flag": null,
"type": "boolean",
"description": "Builder persists context changes",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Builder",
"flag": "BUILDER",
"short_flag": null,
"type": "string",
"description": "Builder instance name",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": true,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "buildx version",
"description": "Show buildx version information",
"arguments": []
},
{
"name": "buildx prune",
"description": "Remove build cache",
"arguments": [
{
"name": "All",
"flag": "--all",
"short_flag": "-a",
"type": "boolean",
"description": "Include internal/frontend images",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Builder",
"flag": "--builder",
"short_flag": null,
"type": "string",
"description": "Override the configured builder instance",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Filter",
"flag": "--filter",
"short_flag": null,
"type": "string",
"description": "Provide filter values",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Force",
"flag": "--force",
"short_flag": "-f",
"type": "boolean",
"description": "Do not prompt for confirmation",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Keep Storage",
"flag": "--keep-storage",
"short_flag": null,
"type": "string",
"description": "Amount of disk space to keep for cache",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"5gb",
"10gb"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Verbose",
"flag": "--verbose",
"short_flag": null,
"type": "boolean",
"description": "Provide a more verbose output",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "buildx du",
"description": "Disk usage",
"arguments": [
{
"name": "Builder",
"flag": "--builder",
"short_flag": null,
"type": "string",
"description": "Override the configured builder instance",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Filter",
"flag": "--filter",
"short_flag": null,
"type": "string",
"description": "Provide filter values",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Verbose",
"flag": "--verbose",
"short_flag": null,
"type": "boolean",
"description": "Provide a more verbose output",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "buildx imagetools create",
"description": "Create a new image based on source images",
"arguments": [
{
"name": "Annotation",
"flag": "--annotation",
"short_flag": null,
"type": "string",
"description": "Add annotation to the image",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Append",
"flag": "--append",
"short_flag": null,
"type": "boolean",
"description": "Append to existing manifest",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Dry Run",
"flag": "--dry-run",
"short_flag": null,
"type": "boolean",
"description": "Show final image instead of pushing",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "File",
"flag": "--file",
"short_flag": "-f",
"type": "file",
"description": "Read source descriptor from a file",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Progress",
"flag": "--progress",
"short_flag": null,
"type": "enum",
"description": "Set type of progress output",
"required": false,
"default": "auto",
"choices": [
"auto",
"plain",
"tty",
"rawjson",
"quiet"
],
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Tag",
"flag": "--tag",
"short_flag": "-t",
"type": "string",
"description": "Set reference for new image",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Source",
"flag": "SOURCE",
"short_flag": null,
"type": "string",
"description": "Source image reference(s)",
"required": true,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": true,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
},
{
"name": "buildx imagetools inspect",
"description": "Show details of an image in the registry",
"arguments": [
{
"name": "Format",
"flag": "--format",
"short_flag": null,
"type": "string",
"description": "Format output using a custom template",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Raw",
"flag": "--raw",
"short_flag": null,
"type": "boolean",
"description": "Show original, unformatted JSON manifest",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Image",
"flag": "IMAGE",
"short_flag": null,
"type": "string",
"description": "Image reference",
"required": true,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": true,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
}
],
"arguments": [
{
"name": "Builder",
"flag": "--builder",
"short_flag": null,
"type": "string",
"description": "Override the configured builder instance",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
],
"_coverage": "full"
}