What are the cache backends in buildx?
BeginnerProductionBuild Performance & CI
Answer
inline (cache metadata inside the image, min mode only), registry (separate cache image), local (directory), gha (GitHub Actions cache API), s3 and azblob. Registry cache supports mode=max and works anywhere; gha is the easiest on GitHub but limited by its 10 GB repo cache quota.
More on Build Performance & CI
How do you make Docker builds fast in CI where runners are ephemeral?BeginnerWhy does `inline` cache often disappoint?AdvancedHow do you structure a Python Dockerfile for the best caching and size?IntermediateHow do you structure a Node.js production image?IntermediateHow do you build a small Java image?BeginnerHow do you build a Go image under 15 MB?Beginner