This is how you can dockerize a Spring-Boot Application (step-by-step)

Поделиться
HTML-код
  • Опубликовано: 1 янв 2025

Комментарии • 10

  • @mortezalotfi8394
    @mortezalotfi8394 8 месяцев назад +1

    You are a legend. Please also talk about prerequisities required like the jdk version, gradle version, docker commands and so on. When I tried your examples because all tools change over time things go wrong unless you come up with good related versions of all tools like jdk and gradle and so on.

    • @visualcomputerscience
      @visualcomputerscience  8 месяцев назад

      Thanks for your comment! I will provide more details in future videos for people that want to follow my examples! Stay tuned!

  • @Fourafu8312
    @Fourafu8312 8 месяцев назад +1

    thank you man you saved me
    😁

  • @ЗахариПалазов
    @ЗахариПалазов Год назад +1

    Spring boot gradle build has a task which does this out of the box.

  • @mohammadturabali3870
    @mohammadturabali3870 8 месяцев назад +1

    thanks man

  • @mortezalotfi8394
    @mortezalotfi8394 8 месяцев назад +1

    One docker -t failed not because of a transient error but because you said openDJK in docker file instead of openJDK

    • @visualcomputerscience
      @visualcomputerscience  8 месяцев назад

      Exactly, just watched the clip now and I realized that I wrote DJK instead of JDK by mistake. Good catch! My fault, next time I'll be more careful :-D

  • @dimohamdy
    @dimohamdy Год назад +1

    ./gradlew bootbuildimage
    Generte docter image