Difference between revisions of "Docker buildx create"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
[[docker buildx]] create | [[docker buildx]] create | ||
+ | |||
+ | docker buildx create --use --driver=docker-container | ||
+ | |||
+ | <pre> | ||
+ | Usage: docker buildx create [OPTIONS] [CONTEXT|ENDPOINT] | ||
+ | |||
+ | Create a new builder instance | ||
+ | |||
+ | Options: | ||
+ | --append | ||
+ | Append a node to builder | ||
+ | instead of changing it | ||
+ | --bootstrap | ||
+ | Boot builder after creation | ||
+ | --buildkitd-flags string | ||
+ | Flags for buildkitd daemon | ||
+ | --config string | ||
+ | BuildKit config file | ||
+ | --driver string | ||
+ | Driver to use (available: | ||
+ | "docker-container", | ||
+ | "kubernetes", "remote") | ||
+ | --driver-opt stringArray | ||
+ | Options for the driver | ||
+ | --leave | ||
+ | Remove a node from builder | ||
+ | instead of changing it | ||
+ | --name string | ||
+ | Builder instance name | ||
+ | --node string | ||
+ | Create/modify node with | ||
+ | given name | ||
+ | --platform stringArray | ||
+ | Fixed platforms for current node | ||
+ | --use | ||
+ | Set the current builder instance | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | |||
+ | [[docker buildx build]] | ||
+ | [[docker buildx prune]] | ||
+ | [[docker buildx use]] | ||
== See also == | == See also == | ||
− | * {{buildx | + | * {{docker buildx}} |
− | |||
[[Category:Docker]] | [[Category:Docker]] |
Latest revision as of 14:47, 24 May 2023
docker buildx create
docker buildx create --use --driver=docker-container
Usage: docker buildx create [OPTIONS] [CONTEXT|ENDPOINT] Create a new builder instance Options: --append Append a node to builder instead of changing it --bootstrap Boot builder after creation --buildkitd-flags string Flags for buildkitd daemon --config string BuildKit config file --driver string Driver to use (available: "docker-container", "kubernetes", "remote") --driver-opt stringArray Options for the driver --leave Remove a node from builder instead of changing it --name string Builder instance name --node string Create/modify node with given name --platform stringArray Fixed platforms for current node --use Set the current builder instance
docker buildx build docker buildx prune docker buildx use
See also[edit]
docker buildx
: [create | use | du | build | inspect | bake | prune | prune --help | --help
], buildx cache,mode=max
Advertising: