We use cookies to understand how people use Depot.
Guides

Local Development

What is local development with Depot?

When you run depot build locally your build context is transferred to a remote builder in Depot and the image is built there.

Without specifying any other CLI options, the resulting image remains in the remote builder cache. If you would like to download the image locally, for instance so you can docker run it, you can specify the --load flag: depot build --load ....

Alternatively if you would like to push the image to a registry, you can specify the --push flag: depot build --push ....

Why use Depot for local development?

Using Depot to run your image builds removes the need to have Docker running locally and consume your local CPU resources. On top of that, builds ran through Depot also allow your build cache to be reused by yourself, other developers in your project, and your CI systems.