docker buildx create

From wikieduonline
Jump to navigation Jump to search

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]

Advertising: