Docker Layers and Multistage Builds | Docker Optimization | Reduce Layer Size

preview_player
Показать описание
In this video, we will explain one of the docker best practices - multistage builds. We will start by briefly explaining what is dockerfile, then dive into how dockerfile layers work. Then we will talk about container image size optimization techniques including multistage builds.

Timestamps:
00:00 Dockerfile
00:54 Docker Layers
03:21 Image Optimization
04:51 Multistage Builds

**Connect with me**

👩🎓**My Courses - Message me at Twitter for discount coupons**

#DockerMultistage #DockerLayers #DockerBestPractices
Рекомендации по теме
Комментарии
Автор

crystal clear the purpose of mutli stage . big thank you 🙏

abhigets
Автор

Thanks for the video, finally the concept of multi stage build is clear to me.

uzmashafi
Автор

To the point Explanation!
But can you tell me what goes behind the scenes in case of multi-stage builds? Are two containers created for building the image and then the first one is removed, and then a new containers spins up for the second stage copies the artifact from the first stage, creates the image removes the container?

pls correct me if i am wrong!

arpanbanejee
Автор

Best explanation I have ever seen. Keep making such good tech content sir. Great job :)

nagdeepgk
Автор

Finally I got the point of multistage builds

amour_armour
Автор

Finally go the simplified version of multi stage docker explained 😊 . Thanks a lot for enriching us with this knowledge.

soumyadipchatterjee
Автор

very well explained, thank you for making this video :)

jessearanki
Автор

Thank you Raj for this video. it is really helpful.

irfanansari
Автор

Best explanation sir ! All others are confusing

Learner-hghj
Автор

thank you so much, it was pretty good explanation

davidleal
Автор

Thank you! love your explanation...susbscribed!

smarttradzt
Автор

Why we need to copy only requirement at line 8 and we copy all folders in project right?

param
Автор

I got this question in interview, I did not answered. Thank you bro.

Probattu
Автор

I was expecting you to implement the multi stage build for the first python Dockerfile you used to create an image of size 893MB. Could you do the multi stage build for that Dockerfile?

edwinrapheal
Автор

Hi Raj, do you have the files user in this video's available on Git please?

Twigster
Автор

intially you shown for python code. how to achive this using this way ?

mailram