Docker - Communicate between containers

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

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

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

    Great explanation! Thank you so much, Tobi!!!

  • @LVang152
    @LVang152 Год назад +2

    The bridge and my-network are two separate networks. Any two containers inside the same network can communicate. How about two communications between the bridge and my-network?

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

    you just solved my problem. it has been 3days

  • @shanmukhasarathkondiparthi8155
    @shanmukhasarathkondiparthi8155 2 года назад +2

    Awesome, Thanks Tobi's Developer Corner.
    At 12:10 the command is not completely Visible, It would be great if we can see it.
    Thanks for this video. 👍

    • @tobisdevelopercorner1190
      @tobisdevelopercorner1190  2 года назад +3

      Hello Shanmukha,
      My apologies for not noticing this prior to posting.
      The full command that I am running at 12:10 is:
      docker run -d --rm -name container1 --net my network containter1:1.0.0
      The image name of the container is not fully visible.
      I hope this helps.
      Happy coding!

    • @shanmukhasarathkondiparthi8155
      @shanmukhasarathkondiparthi8155 2 года назад

      @@tobisdevelopercorner1190 thanks.

  • @brianpayne3468
    @brianpayne3468 2 года назад +1

    How about container from system #1 needing to communicate to system #2's container? Is that possible? Thanks!

  • @SpiritOfIndiaaa
    @SpiritOfIndiaaa Год назад

    thanks a lot , why dont you add a git repo of commands , so easy to practice. you can simply paste from history of your cmd console.

  • @sakshathsm20
    @sakshathsm20 9 месяцев назад

    when you say docker build aren't you building an image and not a container? from that image you create a container right?

  • @GrigTech
    @GrigTech 2 года назад

    please add playlist for docker lessons.

  • @KA-du7vm
    @KA-du7vm 2 года назад +2

    thanks! good video. you should also make the code available pls

  • @debmallyabhattacharya4394
    @debmallyabhattacharya4394 2 года назад +1

    Is there a way I can dynamically get the ip?

    • @mohammedrijwan2719
      @mohammedrijwan2719 2 года назад

      You can get this IP and run another image while sending the previous container IP as environment variable like: docker run -d -e IP: image_name:tag

  • @martinmichaelsen2932
    @martinmichaelsen2932 2 года назад

    When i run the wget to recieve the message nothing shows up. Just a new line within the alpine container (/ #) . THe code should be the same. Do you have any idea why this is?

    • @martinmichaelsen2932
      @martinmichaelsen2932 2 года назад +1

      If anyone else gets this problem. The "-O" needs to be a capitol o or else it wont show the message in the terminal.

  • @meetash4u
    @meetash4u 2 года назад

    Thanks