Faster Docker Builds with Depot

DevOps and Docker Talk

Episode | Podcast

Date: Fri, 17 Mar 2023 09:30:00 -0400

<p>Bret is joined by Kyle Galbraith and Jacob Gillespie, co-founders of Depot, to discuss their new solution to slow Docker builds.<br /> </p><p>If you've never dug into some of the details of Dockers BuildKit, that's the engine behind your Docker build command, then this episode is for you. I'm fairly confident that everyone who uses Docker will eventually come upon the problems that Kyle and Jacob were trying to solve with Depot. Their focus is on speeding up your Docker builds by doing them remotely, in a transparent way. </p><p>They avoid you needing to rethink your workflows and CI automations and provide a CLI tool that's a drop-in replacement for the Docker build command. In this episode, we walked through the problems they can solve today with what I would call a unified shared build cache for your whole team, including your CI and automation tools. </p><p>The way they are going about speeding up the Docker builds is something I wished Docker had done for us all along. I think it's still early days for the Depot product, but if you're suffering with long build image times it's already mature enough to be something I would consider as a replacement for the traditional Docker engine builds that we're all used to.</p><p>Streamed live on YouTube on January 12, 2023.</p><p><strong>Unedited </strong><a href="https://www.youtube.com/watch?v=WbPnPfCRBJI"><strong>live recording</strong></a><strong> of this show on YouTube (Ep. #198). Includes demos.<br /></strong><br />★<strong>Topic Links★</strong><br /><a href="https://depot.dev">Depot website</a><br /><a href="https://twitter.com/depotdev">Depot on Twitter</a></p><p><strong>Creators &amp; Guests</strong></p><ul> <li> <a href="https://podcast.bretfisher.com/people/bret-fisher">Bret Fisher</a> - Host</li> <li> <a href="https://podcast.bretfisher.com/people/beth-fisher">Beth Fisher</a> - Producer</li> <li> <a href="https://podcast.bretfisher.com/people/cristi-cotovan">Cristi Cotovan</a> - Editor</li> <li> <a href="https://podcast.bretfisher.com/people/kyle-galbraith">Kyle Galbraith</a> - Guest</li> <li> <a href="https://podcast.bretfisher.com/people/jacob-gillespie">Jacob Gillespie</a> - Guest</li> </ul><br /><p><strong>Support this show and get exclusive benefits on </strong><a href="https://patreon.com/BretFisher"><strong>Patreon</strong></a><strong>, </strong><a href="https://www.youtube.com/@BretFisher"><strong>YouTube</strong></a><strong>, or </strong><a href="https://www.bretfisher.com/"><strong>bretfisher.com</strong></a><strong>!</strong></p>★<strong>Join my Community</strong>★<br />New live <a href="https://bret.courses/autodeploy"><strong>course on CI automation and gitops deployments</strong></a><br />Best coupons for my <a href="https://www.bretfisher.com/courses"><strong>Docker and Kubernetes courses</strong></a><br />Chat with us and fellow students on our Discord Server <a href="https://devops.fan/"><strong>DevOps Fans</strong></a><strong><br /></strong>Grab some merch at <a href="https://bretfisher.myspreadshop.com/"><strong>Bret's Loot Box</strong></a><p>Homepage <a href="https://bretfisher.com/"><strong>bretfisher.com</strong></a></p> <ul> <li>(00:00) - DDT MAIN</li> <li>(00:04) - Intro</li> <li>(00:53) - Bret's intro</li> <li>(02:24) - Main show</li> <li>(02:33) - Introducing the guests</li> <li>(02:53) - Today's topic</li> <li>(03:07) - Where did the idea for Depot come from?</li> <li>(04:26) - How it started</li> <li>(06:37) - Describing the problems</li> <li>(07:59) - The caching problem</li> <li>(09:49) - Docker caching default and in CI</li> <li>(12:45) - What is cache busting?</li> <li>(14:23) - Being deliberate about your CI environment</li> <li>(15:23) - What problems is Depot trying to solve?</li> <li>(17:27) - Replacing the Docker CLI with Depot</li> <li>(22:13) - Building for multi-platform</li> <li>(26:53) - Question</li> <li>(30:13) - Question</li> <li>(32:14) - Demo intro</li> <li>(32:45) - Modes of hosting</li> <li>(33:29) - Question</li> <li>(34:33) - What else does the UI offer?</li> <li>(38:21) - Getting started with Depot</li> <li>(39:28) - What's on the horizon?</li> <li>(40:30) - Outro</li> </ul>