Using Depot Cache with Docker Bake and the Depot CLI

30 OCT, 2025

We added two new sections to the Depot Cache documentation for all supported build tools:

  • Use Depot Cache with the Depot CLI: Use Depot Cache with the depot build command, including secret mounting syntax.
  • Use Depot Cache in Bake files: Guidance for using Depot Cache in Docker Bake files.

Check out the docs for your preferred build tool: Bazel, Go, Gradle, Maven, moonrepo, Pants, sccache, or Turborepo.

Start building with Depot
in minutes