2min chapter

The Unhandled Exception Podcast cover image

Docker Demystified - with (me) Dan Clarke

The Unhandled Exception Podcast

CHAPTER

Docker Build - How to Build a Container

Each line in the Docker file does start with a keyword. And we've already spoken about this initial from another common keyword is run. This will run any command in this intermediate container. Every one of these commands will then create a new layer. So effectively creating a snapshot image at each command. And that layer will be cached. The next time you do Docker build, unless it's been invalidated because something's changed, then it won't have to run that command again,. It'll just use the cached version.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode