DOCKER images with MULTISTAGE builds | Optimize & reduce the size of your images

Поділитися
Вставка
  • Опубліковано 3 лип 2024
  • I have noticed only few people know about Docker Multistage builds. People manually try and replace a Multistage build with two regular docker builds. To reduce the size of your Docker images and containers by 90% with just few lines of code, use multi stage docker builds. When you start up your first Kubernetes cluster, or use cloud resources like EKS, AKS etc., you probably realize just how expensive cloud resources can be.
    #devops #docker #kubernetes #etc
    --------------------------------------------------------------------------------
    0:00 - Intro
    0:19 - Agenda
    1:09 - Why docker multi stage builds?
    3:06 - Before multi stage builds
    6:12 - Using multi stage builds
    8:10 - How it actually works
    9:52 -Naming your stages in builds
    -----------------------------------------------------------------------------
    =======================================
    Follow me @:
    / thetips4you
    / thetips4you
    / thetipsforyou
    www.thetips4you.com
    =======================================
  • Наука та технологія

КОМЕНТАРІ • 4

  • @VenkatesanVenkat-fd4hg
    @VenkatesanVenkat-fd4hg 11 місяців тому

    Thanks for video . I hav one doubt Where I can practice docker, can you suggest some platforms.

    • @Thetips4you
      @Thetips4you  11 місяців тому +1

      Easiest one is build a vm locally and install docker

  • @zygote846
    @zygote846 11 місяців тому

    Hi Great tutorial,I am wondering what happens for framework, languages that do not create binarys or artifacts like WordPress,where you don't have an executable.How can multi stage build be used there?

    • @Thetips4you
      @Thetips4you  11 місяців тому

      It is the same process for all multistage irrespective of whether you are creating binary or artifacts. All depends upon your use case.