docker buildx create

Estimated reading time: 2 minutes

Description

Create a new builder instance

This command is experimental.

This command is experimental on the Docker client. It should not be used in production environments. To enable experimental features in the Docker CLI, edit the config.json and set experimental to enabled.

Experimental features provide early access to future product functionality. These features are intended for testing and feedback only as they may change between releases without warning or can be removed entirely from a future release. Experimental features must not be used in production environments. Docker does not offer support for experimental features. For more information, see Experimental features.

To enable experimental features in the Docker CLI, edit the config.json file and set experimental to enabled.

To enable experimental features from the Docker Desktop menu, click Settings (Preferences on macOS) > Daemon and then select the Experimental features check box.

Usage

docker buildx create [OPTIONS] [CONTEXT|ENDPOINT]

Options

Name, shorthand Default Description
--append Append a node to builder instead of changing it
--driver Driver to use (available: [])
--leave Remove a node from builder instead of changing it
--name Builder instance name
--node Create/modify node with given name
--platform Fixed platforms for current node
--use Set the current builder instance

Parent command

Command Description
docker buildx Build with BuildKit
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 imagetools Commands to work on images in registry
docker buildx inspect Inspect current builder instance
docker buildx ls List builder instances
docker buildx rm Remove a builder instance
docker buildx stop Stop builder instance
docker buildx use Set the current builder instance
docker buildx version Show buildx version information