A reference to the
depot CLI, including all config, commands, flags, and options.
Runs a Docker build using Depot's remote builder infrastructure. This command accepts all the command line flags as Docker's
docker buildx build command, you can run
depot build --help for the full list.
depot build will leave the built image in the remote builder cache. If you would like to download the image to your local Docker daemon (for instance, to
docker run the result), you can use the
Alternatively, to push the image to a remote registry directly from the builder instance, you can use the
# Build remotely depot build -t repo/image:tag .
# Build remotely, download the container locally depot build -t repo/image:tag . --load
# Build remotely, push to a registry depot build -t repo/image:tag . --push
Initialize an existing Depot project in the current directory. The CLI will display an interactive list of your Depot projects for you to choose from, then write a
depot.json file in the current directory with the contents
Authenticates with your Depot account, automatically creating and storing a personal API token on your local machine.