Discover the game-changing Docker Bake Build tool that enhances automation and reproducibility in creating Docker images. Learn about its impressive benefits, including faster builds and multi-architecture support. Get insights on how to leverage Bake files to simplify your development process compared to traditional commands. Dive into practical examples and see how Docker's GitHub Actions and BuildKit can elevate your CI workflows. Plus, there's a visual version available for an engaging experience!
16:43
forum Ask episode
web_stories AI Snips
view_agenda Chapters
auto_awesome Transcript
info_circle Episode notes
question_answer ANECDOTE
History of Docker Bake
Docker has had the "Docker BuildX bake" command since 2018.
However, its future was uncertain, and adoption was hesitant due to Docker deprecating other tools around that time.
insights INSIGHT
Docker Bake's Future
Docker Bake reached General Availability, signaling Docker's commitment to the project.
Docker even plans to integrate Bake into Docker Compose for future builds.
insights INSIGHT
Bake as a BuildKit Makefile
Docker Bake uses JSON, Compose, or HCL (Terraform's language) for instructions.
It acts as a BuildKit-native makefile, enhancing Dockerfile instructions.
Get the Snipd Podcast app to discover more snips from this episode
The Docker Bake Build tool just went general availability, and I'm excited about what this means for creating reproducible builds and automation that can run anywhere. In this video I'm gonna break down some of the features, the benefits and walk through some examples.
In this episode I explain why docker buildx bake exists, what it can do, and I walk through multiple examples of Bake files and how it's better than docker build image and docker compose build. I also touch on BuildKit and Docker's GitHub Actions.
🙌 My next course is coming soon! I've opened the waitlist for those wanting to go deep in GitHub Actions for DevOps and AI automation in 2025. I'm so thrilled to announce this course. The waitlist allows you to quickly sign up for some content updates, discounts, and more as I finish building the course. https://courses.bretfisher.com/waitlist 🍾