Docker
Registry cache
Quick answer
A registry cache stores Docker build layers as a separate image in a container registry so later builds can import them.
A registry cache stores Docker build layers as a separate image in a container registry so later builds can import them.
Why it matters
It works across machines, which inline cache does not, but every build pays the network cost of exporting and importing. A persistent builder avoids that transfer entirely.
Your next build could be twice as fast, at half the price
Start free. Migrating away is the same one line, and we publish that diff too.
Related
Base imageA base image is the image named in a Dockerfile's FROM instruction, providing the filesystem and tooling every subsequent layer builds on.BuildKitBuildKit is Docker's build engine, providing parallel layer execution, better caching and support for build secrets and multi-platform output.BuildxBuildx is the Docker CLI plugin that exposes BuildKit features, including multi-platform builds, remote builders and advanced cache backends.Cache mountA cache mount is a BuildKit feature that persists a directory across builds without including it in the resulting image layer.