Тёмный

What is Multistage Dockerfile ? 

School of Devops
Подписаться 19 тыс.
Просмотров 9 тыс.
50% 1

Do you want to know how to create a small, secure container image while also getting rid of unnecessary components including the build tools, source code and more, you must know the concept of the Multi Stage Dockrfile. In this video I am going to explain what is multistage dockerfile and how the multistage build works.
00:00 Intro
00:27 Why do you need Multistage Dockerfile
03:20 What is Multistage Dockerfiles
06:03 Sample Multistage Dockerfiles Explained
07:55 Comparing Image Sizes
08:59 Single Stage vs Multistage Dockerfiles
12:07 Analysing Image Layers
15:02 Sample Dockerfiles with Three Stages
16:25 Outro
Join Devops Club on Facebook at / devopsclub
You could get started with your Devops Journey by attending my webinar at roadmap.schoolofdevops.com/?u...
FREE access to Docker Mini Course : schoolofdevops.ck.page/f97f44...
My Courses Published with Linux Foundation
DevSecOps : training.linuxfoundation.org/...
GitOps with Flux: training.linuxfoundation.org/...
Containers for Developers and QA : training.linuxfoundation.org/...
Implementing Continuous Delivery : training.linuxfoundation.org/...
Additional Links :
FREE access to Docker Mini Course : schoolofdevops.ck.page/f97f44...
Gourav on LinkedIn : / gouravshah
Gourav on Quora : www.quora.com/profile/Gourav-...
Membership to Devops Mastery Programs : www.schoolofdevops.com
docker socket mount continuous integration site reliability engineering

Наука

Опубликовано:

 

3 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 9   
@vaishnavisoundane3982
@vaishnavisoundane3982 2 месяца назад
This is exactly how I wanted someone to explain to me about Dockerfiles. Thanks a lot .
@Luther_Luffeigh
@Luther_Luffeigh Год назад
You have been publishing videos for more than 5 years!!!
@mohdrayees8919
@mohdrayees8919 Месяц назад
Hey from where can i get this source code github repo?
@raviupadhyay7016
@raviupadhyay7016 Год назад
do you have any full blown courses of docker and Kubernetes.
@samarthchoudhary6883
@samarthchoudhary6883 Год назад
Hello, Nice content! One quick question- how we are giving the paths in WORKDIR? I mean it's based on base image structure or how?
@gouravshahj
@gouravshahj Год назад
WORKDIR path depends on where you want to copy the code, compile and run the application from. This is nothing to do with base image. You could define any path that your application needs and it would be automatically created during build time and then used subsequently by all other instructions including COPY, RUN, CMD etc.
@maheshs5517
@maheshs5517 Год назад
@@gouravshahj I think it is similar to MKDIR [-p]. WORKDIR creates directory on the fly
@me_debankan4178
@me_debankan4178 11 месяцев назад
Workdir simply create a directory ( if not present ) and make all incoming commands run on that specified directory
@theconfusedchannel6365
@theconfusedchannel6365 5 месяцев назад
Hmm nothing new in this video. Talks about same things. I have requirement , I have to use rockylinux container, I need python 3.10, mssql. Can you post what all I can do to reduce. Yes layers is one of them what else?
Далее
Learning Docker // Build Container Images
23:02
Просмотров 31 тыс.
Dockerfile Instructions Deep Dive
21:50
Просмотров 26 тыс.