Build container images faster on cloud builders with a shared cache, locally and in CI
SaaS
Docker Build Cloud runs docker buildx build on remote BuildKit builders instead of the local machine: each organization's builders run on their own Amazon EC2 instances with a dedicated cache volume shared by the whole team, and native amd64 and arm64 builders make multi-platform images without emulation. Results go back to the local image store or straight to a registry. It works from the CLI, Docker Desktop (whose Builds view shows teammates' builds) and CI systems such as GitHub Actions, GitLab, CircleCI and Jenkins. Every paid Docker subscription includes it, with build cache space by plan; free accounts get a 7-day trial. Builders run only in the US East region.
Problems it solves
- docker builds on my laptop are slow and pin the CPU; run them on remote machines instead
- share one image build cache across the whole team so nobody rebuilds the same layers
- build arm64 images from an x86 laptop or CI runner without slow QEMU emulation
- speed up image builds in GitHub Actions, GitLab CI or CircleCI without running our own builder machines
- build amd64 and arm64 variants of an image and push them in one command
- keep using the usual docker buildx build command but have it run in the cloud
- see my teammates' image builds, logs and timings for a shared builder in one place
- let cloud image builders pull from our private package registry on an internal network
- restrict which IP addresses our image build machines can send traffic to
- CI loses its Docker layer cache between runs, so every pipeline rebuilds from scratch
- pass tokens into image builds without them ending up in the build cache
- run docker compose build on fast remote builders
- build images on machines that aren't shared with other customers' builds
Features
- remote BuildKit builders used through docker buildx build --builder
- each builder on its own Amazon EC2 instance with a dedicated EBS cache volume; encryption in transit
- native amd64 and arm64 builders for multi-platform images
- build cache space: 50 GB on Pro, 100 GB on Team, 200 GB on Business, split between the two architectures
- disk allocation setting that trades cache space for build space
- shared cache and shared build history for an organization's builders
- Builds view in Docker Desktop for builds started by teammates
- load results into the local image store or push to a registry
- build secrets and SSH forwarding that never reach the cache
- private resource access for registries and package repositories on private networks
View 3 more
- egress firewall that limits builders to allowed IP addresses
- CI examples for GitHub Actions, GitLab, CircleCI, Buildkite, Jenkins, Travis CI and Bitbucket Pipelines
- works with docker compose build
Limitations
- No build regions outside the US: Docker Build Cloud builders run only in the US East region1
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has single sign-on | Business plan, $24/user/month, billed annually23 |
Alternatives
The same job
These do what Docker Build Cloud does.
- Depot Software delivery built for machine scale
- kaniko Build Container Images In Kubernetes
- Buildah A tool that facilitates building OCI container images
- WarpBuild High-performance GitHub Actions runners: 2x faster, 50% cheaper
- ko Simple, fast container image builder for Go applications
- BuildKit concurrent, cache-efficient, and Dockerfile-agnostic builder toolkit
