Building Docker Images - Best Practices

Поділитися
Вставка
  • Опубліковано 10 гру 2024

КОМЕНТАРІ • 22

  • @bamusalako
    @bamusalako 2 місяці тому

    You are insanely underrated, I feel so lucky that I stumbled upon your Hibernate Video and now I have some important topics you made videos about that I can explore thank you.
    Your Quality and teaching is really good in comparison with many others on youtube, I hope the Algorithm does his Job better soon :D

  • @mars3142
    @mars3142 5 місяців тому +10

    Best practices for multi stage builds would be nice to see or if you like, what is the most difference of buildpacks vs. dockerfile for Java (e.b. Spring Boot) applications.

    • @KevinSheppard
      @KevinSheppard 5 місяців тому +1

      I'd like to second this. I haven't had much luck understanding buildpacks.

  • @brownNbankrupt
    @brownNbankrupt 5 місяців тому +1

    I got to know you from your blog where you explained how Spring transactions work. You are among the very few people who can convey an idea without any confusion to the reader/consumer.
    Great work, Marco. Thank you for creating these materials. 🔥🔥

  • @reuben9548
    @reuben9548 5 місяців тому

    Excited to watch! I appreciate the condensed quality you provide!

  • @YuriyKondrashov
    @YuriyKondrashov 5 місяців тому +2

    Marko + Docker in one sentence? Sounds like a click bait for me)
    It's nice to see you again!

  • @pmorah
    @pmorah 5 місяців тому +1

    Thank you Marco.
    Docker init is a great command too. It generates .dockerignore file and you can choose between different templates depending on your programming language.

  • @mzalewski
    @mzalewski 5 місяців тому +3

    RUN with mount parameter is awesome! 😍 I spent a lot of time fighting with copying deps which should be cached after build and it's my issue with multistage builds. Thanks! ♥

    • @KevinSheppard
      @KevinSheppard 5 місяців тому +1

      This part of the video blew my mind as well. I have some builds that take quite some time because of npm install.

  • @henriqued.7271
    @henriqued.7271 4 місяці тому

    We also can add a build with multi-stage builds, this will allow us to filter files, speed up build speed with a little image like Alpine or "slim" versions. :)

  • @lts8683
    @lts8683 5 місяців тому +1

    Another tips is that we should use the image which we need, like for ex, if we need to run a java application, we need to use an image which contains just JRE, and also we can clean this image from unused packages

    • @MarcoCodes
      @MarcoCodes  5 місяців тому

      Bear in mind, like mentioned in the video, that cleaning packages does not influence the previous layers.

  • @sug_madic7683
    @sug_madic7683 5 місяців тому

    Yeah bro is back as a dad.

  • @DanielJGallo
    @DanielJGallo 5 місяців тому

    Great video :)

  • @moaliyou
    @moaliyou 5 місяців тому +1

    Where have u been bro? Missed ur valuable vidz 🔥

    • @MarcoCodes
      @MarcoCodes  5 місяців тому +3

      Well, the truth is that my main job is being a product manager and I can only dedicate a tiny amount of.my time towards making videos. But I'm trying :)

  • @onujaar
    @onujaar 5 місяців тому

    "multi stage build" and "creating non-root user for the container" next please

  • @parvezmd6455
    @parvezmd6455 5 місяців тому

    which course are you going to release next on your website ?

    • @MarcoCodes
      @MarcoCodes  5 місяців тому

      Nothing is planned for the moment. Are you interested in a specific topic?

    • @parvezmd6455
      @parvezmd6455 5 місяців тому

      Yes, could you please create one microservice project course using spring boot, havjng spring security, docker creationwith best practices explanation. that will be good.

  • @mohammadtoficmohammad3594
    @mohammadtoficmohammad3594 4 місяці тому

    Thank you very much