YoVDO

Lessons Learned With Dockerfiles and Docker Builds

Offered By: Docker via YouTube

Tags

DockerCon Courses Containerization Courses

Course Description

Overview

Learn valuable insights and best practices for optimizing Dockerfiles and Docker builds in this 29-minute conference talk from DockerCon 2021. Explore key topics including choosing the right base image, chaining RUN commands for efficiency, implementing effective cleanup strategies, leveraging the layer cache for app package installations, utilizing .dockerignore files, harnessing the power of multi-stage builds, and the importance of comprehensive labeling. Discover the advantages of Buildkit and gain access to additional resources to enhance your Docker development skills. Speaker Aaron Kalin shares lessons learned and practical tips to improve your Docker workflow and create more efficient containerized applications.

Syllabus

Intro
Hi! I'm Aaron
Overview
Dockerfiles Crash Course Part 3
Be Careful of the Base (Unless it's Ace of Base)
Chain your RUN commands
Cleanup is good - Again, Layer efficiency
Run your app package installs separately - Remember the layer cache
Don't forget your dockerignore
Use multi-stage builds - Your new superpower with Docker
Label EVERYTHING - Bring out your inner office manager
Buildkit is AWESOME - Buildkit was first introduced to docker in 18.09
But why?
Don't forget...
Resources


Taught by

Docker

Related Courses

Architecting .NET Microservices in a Docker Ecosystem
Docker via YouTube
Docker and Pyrsia - Securing the Software Supply Chain
Docker via YouTube
Removing Complexity from Integration Tests Using Testcontainers
Docker via YouTube
Running an AWS Stack on Your Local Machine
Docker via YouTube
Building Observability for 99% Developers
Docker via YouTube