Dockerize Your .NET Application in 5 Minutes!

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 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

  • @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.

  • @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 18 วันที่ผ่านมา

      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

  • @marcusalves7
    @marcusalves7 7 หลายเดือนก่อน

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

  • @mnursat
    @mnursat 7 หลายเดือนก่อน +1

    Awesome! Really simple explanation

  • @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

  • @muczos
    @muczos 7 หลายเดือนก่อน +2

    Hi @Amichai will you ever do a DAPR content?

  • @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 หลายเดือนก่อน +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.

  • @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
      th-cam.com/video/JiJeZOHx0ow/w-d-xo.html

  • @DaminGamerMC
    @DaminGamerMC 7 หลายเดือนก่อน +3

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

  • @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

  • @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

  • @Keugon
    @Keugon 5 หลายเดือนก่อน

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

  • @xardasu3646
    @xardasu3646 7 หลายเดือนก่อน

    Will hot reload works in this docker configuration ?.

    • @meetingattender8132
      @meetingattender8132 6 หลายเดือนก่อน

      yes github issue #322 repo microsoft/dockertools

  • @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 3 วันที่ผ่านมา

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

  • @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 13 วันที่ผ่านมา +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.