Dockerize Your .NET Application in 5 Minutes!

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

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

  • @HackerUC
    @HackerUC 7 месяцев назад

    Thanks for clearly explaining the Dockerfile. I dockerized an API not too long ago, but I let Rider create the Dockerfile. Your video explained some things I didn't fully understand in the Dockerfile

  • @hardikparmar1665
    @hardikparmar1665 7 месяцев назад +2

    Superbly explained.
    Crystal clear clarity...!!!
    Just one request, can you please give a sequence number to each video for this playlist.
    So that I can watch it with ease sequentially.
    Thanks!

    • @TheOceanLoader
      @TheOceanLoader 21 день назад

      What playlist? Assuming there is a playlist containing this video. Something formal like that is a great idea for people studying the whole series, but casual people like me who just want to drop in on a video to learn about Docker, would be put off possibly by the fact it looks like I need to watch a whole load of previous videos

  • @andersjuul8310
    @andersjuul8310 7 месяцев назад

    Lovely, very condensed video! I love to get a better understanding of the things done for me "automatically". Things that are scaffolded for us are often hard to progress from. This helps. Thanks.

  • @mnursat
    @mnursat 7 месяцев назад +1

    Awesome! Really simple explanation

  • @marcusalves7
    @marcusalves7 7 месяцев назад

    great video, would've loved to see also with multiple projects and running migrations

  • @ricardoribeiro4560
    @ricardoribeiro4560 7 месяцев назад +9

    Hi, love the videos, can you add to the title the part number? so we can have an order to search later.

    • @amantinband
      @amantinband  7 месяцев назад +7

      The order in the playlist should be correct. I'm reluctant to add the series number as part of the title since series perform worse on youtube than standalone videos

    • @ricardoribeiro4560
      @ricardoribeiro4560 7 месяцев назад +1

      @@amantinband agree no problem

  • @ivandrofly
    @ivandrofly 7 месяцев назад

    Thanks for the video - Rider IDE as support to generate docker file for your project very easily actually
    but it's always good to know how to do it manually though

  • @eqwerty610
    @eqwerty610 7 месяцев назад +6

    Maybe I am outdated on this, but since we have a dedicated step for "dotnet restore", shouldn't we use the "--no-restore" option in the build and publish command, to disable the implicit restore?

    • @matiascasag
      @matiascasag 7 месяцев назад +1

      Yeap and i think he could use the Alpine Versions of dotnet to get a smaller binary

    • @vasiliyfofanov2605
      @vasiliyfofanov2605 2 месяца назад

      And for the "dotnet publish" we probably need to add "--no-build"

    • @jalaanchal
      @jalaanchal 2 месяца назад +1

      I feel that the build command is not even needed since publish command also builds the project. We can just remove the build command and add the --no-restore flag to the publish command.

  • @muczos
    @muczos 7 месяцев назад +2

    Hi @Amichai will you ever do a DAPR content?

  • @DaminGamerMC
    @DaminGamerMC 7 месяцев назад +3

    there is a lot there that i dont know like what is `FROM build as publish`

  • @jrguedes
    @jrguedes 3 месяца назад

    Great video!

  • @dzllz
    @dzllz 7 месяцев назад +1

    Very cool! My app runs on an EC2 aws instance and relies on local storage on that instance for storing images etc.
    What would be the next step for me to dockerize? Outsource the storage to AWS S3?

    • @amantinband
      @amantinband  7 месяцев назад +2

      I’ll be covering one possible solution in next week's video: The Better Way To Use Docker
      ruclips.net/video/JiJeZOHx0ow/видео.html

  • @sudeolmez5480
    @sudeolmez5480 7 месяцев назад

    Hi! Thank you for this great explanation, however I am having an issue about connecting Mongodb with dotnet on docker. I keep getting an error of 500 although I think I added them all to compose-yml file properly. It really would be great that if you can take a video about it. Thanks again!!!

  • @sureshpal5569
    @sureshpal5569 Месяц назад

    great video , kindly share the dockerfile if possible

  • @ArunKumar-y1d5v
    @ArunKumar-y1d5v 7 месяцев назад +1

    Do I need to modify the restoration process because I have multiple layers in my project?

    • @amantinband
      @amantinband  7 месяцев назад +1

      Assuming you meant multiple projects - yes. Here’s an example: github.com/amantinband/clean-architecture/blob/main/Dockerfile

  • @Keugon
    @Keugon 6 месяцев назад

    is that video speed up a little or do you have some sort of voice adjustment going on?

  • @camcommute
    @camcommute Месяц назад

    if your csproj file didnt change then docker is going to use the cached and not run dotnet restore again. therefore, 2 stage is fine

  • @emilie1977
    @emilie1977 6 дней назад

    Thank you
    ps. I suggest you reduce the font size or zoom a little less, the text goes under the video with your face :)

  • @xardasu3646
    @xardasu3646 7 месяцев назад

    Will hot reload works in this docker configuration ?.

  • @pilotboba
    @pilotboba 7 месяцев назад

    Doesn't .Net 8 support building docker containers with MS build without using a dockerfile? I'm surprised you are showing dockerfile use here.

  • @keyvaniscool
    @keyvaniscool 17 дней назад +2

    This is such a bad video for someone that is trying to learn docker. You dont even explain what each command does. Your folder structure is also no clear and you should explain what each command does with the folders locally and in the container. You are litteraly just speed running the explanation as we understand everything already.