Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the capabilities of BuildKit, a modern OCI image builder toolkit based on containerd, in this 35-minute conference talk. Learn how BuildKit can significantly improve application development processes and CI workflows by enhancing Dockerfile performance and enabling remote caching support. Discover how BuildKit leverages containerd manifest list support to build multi-platform images with a single build request and Dockerfile. Gain insights into using BuildKit as part of the Docker platform or as a standalone tool deployed on a Kubernetes cluster, and understand its advantages over previous image building methods. Delve into topics such as BuildKit LLB, extensible syntax, Docker Buildx, multi-platform image building, rootless mode, and deployment strategies for optimizing container image creation.
Syllabus
Intro
What is Build Kit?
How are container images built?
What's the issue with old builder?
BuildKit solves these problems
Built on containerd
Embraces OCI standards
Problems of legacy docker build
BuildKit LLB
Extensible syntax
RUN --mount=type=cache
RUN --mount=type=secret
Many ways to use BuildKit
Docker Buildx
Buildx: Full BuildKit
Buildx: Multi-platform images
Why build images on Kube?
Legacy docker build on Kubernetes
Rootless mode
Rootless BuildKit vs Kaniko
Deployment strategy
Caching
Recap
Taught by
Linux Foundation