Dockerfile for Golang Step by Step 2024 (multi-stage build with distroless/scratch)

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

КОМЕНТАРІ • 9

  • @hooyah
    @hooyah 8 місяців тому

    i never learn docker before. and you help me dockerize my testing app. thanks for the tuts ❤❤

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

    niceee vid man , but next time include my right ear too

  • @sinamobasheri
    @sinamobasheri 8 місяців тому

    Thank you very much 💌

  • @Livingston28
    @Livingston28 3 місяці тому

    This is just the bestttt

    • @dhij
      @dhij  3 місяці тому

      Glad to hear you found it helpful!

  • @namhtrg2045
    @namhtrg2045 9 місяців тому +1

    TYSM your tutorial is very clearly, can you suggest me some existed Golang project to try to deploy by using docker?

  • @iwolfman37
    @iwolfman37 7 місяців тому

    HI, great video! I was wondering that, if you wanted to, maybe you could try making a video on using on specific use cases of a docker container? Like a dead simple example such as this one, but it requires the use of a docker volume to write to. Or one with a simple mysql implementation.

    • @geto6242
      @geto6242 6 місяців тому

      A use case for a docker container is mainly the fact that you can develop locally and expect the same environment as on the server since you deploy the same container, the same building block, there as well.
      You can dockerize mostly anything that will run on a server and I can only think of some very specific uses when you shouldn't. If you have extremely high performance expectations and want to get the juice out of your machines absolutely, then you shouldn't dockerize. But these applications are scarce since you can also just buy or rent another server and sync between them if you need more processing power.

  • @CalmCamera-zn6sb
    @CalmCamera-zn6sb 4 місяці тому

    So thank u