Day-28 | Docker Networking | Bridge vs Host vs Overlay |Secure containers with custom bridge network

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 223

  • @DevopsChallengeHub
    @DevopsChallengeHub Рік тому +50

    I have taken many courses from Udemy and all. But I must say this is the best course so far on Devops. Very simple way to explain lot of new things, concepts. Loved this 45 days devops courses. Absolutely awesome.

  • @SidIndian082
    @SidIndian082 10 місяців тому +5

    Sir your Explanation on Secure + Bridge network + practical Example is just awesome .... 🙂

  • @axayred
    @axayred 2 місяці тому +1

    I've been postponing this topic for a long time because I find no perfect video for me to comprehend this topic. This guy put everything in a simple way. Thanks man ;) God Bless you.

  • @ShaikAbdullah-e6v
    @ShaikAbdullah-e6v 7 днів тому

    Hi Abhishek, you have an excellent way of explaining the concepts which can be easily understood. I really appreciate your efforts.

  • @vback4238
    @vback4238 Рік тому +19

    Thanks again to the best teacher on the internet. Viewers need to click the Like button; it doesn't cost anything!

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому +2

      Thanks alot Bhai ..
      Please keep sharing the videos

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

      ​@@AbhishekVeeramalla hey abhi can you clear my doubt in the comment section....Hey Abhishek thanks for the wonderful explanation. I have one doubt in this time stamp 20:10 so here we are using the custom bridge to isolate the container. Here is my question -- even a custom bridge network also coming from the host right as per your diagram. How is this container secure?

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

      @@AbhishekVeeramalla Because if any hacker reaches to the host he can reach to the container r8?

  • @goodthingstech9554
    @goodthingstech9554 Рік тому +5

    For the past couple of weeks, I was searching for a contentful DevOps channel, Thankfully I found this Master Man 🙌

  • @AnkitVishwakarma-n8c
    @AnkitVishwakarma-n8c 14 днів тому

    What a content you delivered Abhishek, amazing way of teaching entire docker networking.

  • @vivekgautam9766
    @vivekgautam9766 6 місяців тому +4

    Dammmmmmmn... Those practicals were really amazing all concepts are clear.. Far better than theory.

  • @shivanigadekar4281
    @shivanigadekar4281 Рік тому +3

    Thankyou for teaching this concept in a very crisp and easy manner, Before I use to be scare of docker networking.
    but now i am pretty confident about it

  • @kartikawasthi2562
    @kartikawasthi2562 5 місяців тому +3

    Take this brother ❣❣ You have no idea at what level this is helping us to grow. Thanks for existing :)

  • @traptithakur7399
    @traptithakur7399 9 місяців тому +8

    I purchase course from udemy and tried to understand docker networking but it was not clear to me. Thank to Abhishek sir for best and bestest explanation.😊

  • @mohammed_rayees387
    @mohammed_rayees387 8 місяців тому +4

    Iam very thankful to Allah , Uss ne mujhe aap se mila diya Devops sikhne ke liye
    Thanks alot Abhishek bhaiya

  • @anujlahoty8022
    @anujlahoty8022 17 днів тому

    Abridged, succinct and jam packed video with beautiful delineation!!!

  • @subash7777
    @subash7777 Рік тому +2

    at 30:40 the host-demo container is created with host network name. so it will have completely different ip since its different from the bridge network and newly created custom network. Thank you for this valuable content. Clearly understood the implementation of the network in docker.

    • @bhanuteja_04
      @bhanuteja_04 10 місяців тому

      Then why don't it have host ip in the network section when we inspect the container?

    • @AmanGupta-tm9mp
      @AmanGupta-tm9mp 10 місяців тому

      just write the command : docker exec -it host-demo /bin/bash .It takes u to the host section and there u see root@Ip address which is your host machine Ip. But in network section u didn't get it. @@bhanuteja_04

  • @kumudchandra7635
    @kumudchandra7635 Рік тому +3

    High level Teacher /Mentor/Coach ..

  • @devops-journey01
    @devops-journey01 Рік тому +8

    No words to say, simply awesome ❤️❤️❤️....

  • @pavankumarakula2268
    @pavankumarakula2268 Рік тому +1

    The answer for the question that you asked us at @30:30 i.e. the IP address of the host-demo container would be either nothing or something in the subnet of the host network. Thanks for the wonderful explanation Abhishek.

  • @baig378
    @baig378 Рік тому +1

    Hi Abhishek, Thank you for valuable content. I was searching for some one who gives me clear understanding about devops what to learn, how to proceed step by step. Luckily I found you through LinkedIn post from some person, and I got answers to all my confusion regarding Devops. Kudos to you.
    I have the following questions Abhishek,
    Q1: For suppose I have created a container with default bridge network or host network or custom network, but later stage I want to change the network to different one. Can I change without deleting the container?
    Q2: Host is communicating with different containers with different networks. Can we make the same among the containers? What I mean is can only a container in the same host have multiple networks so that it will communicate with different containers?
    Thank you.

  • @kaustubhpowar4097
    @kaustubhpowar4097 2 місяці тому +1

    The fear for DOCKER has been gone now....😉 ....Thanks Abhishek

  • @RAVIKUMAR-zg6bv
    @RAVIKUMAR-zg6bv Рік тому +1

    Best content & Better Explanation what better tutor can deliver and you are the best of best
    Thank you bother 😍😍

  • @Cloudnp9458
    @Cloudnp9458 11 місяців тому +5

    Docker networking allows containers to communicate with each other and host system. Two scenarios,
    Container one connects to container two, Container one has isolation from container two. When you create a container. Docker creates veth, That is docker0. It allows docker container subnet to communicate with host. It is called bridge networking and it is default networking in docker. If there is not veth/docker0 the containerized application is not reachable from internet. So users will not be able to access application.

  • @Cloudnp9458
    @Cloudnp9458 11 місяців тому +5

    Docker networking allows containers to communicate with each other and host system. Two scenarios,
    Container one connects to container two, Container one has isolation from container two. When you create a container. Docker creates veth, That is docker0. It allows docker container subnet to communicate with host. It is called bridge networking and it is default networking in docker. If there is no veth/docker0 the containerized application is not reachable from internet. So users will not be able to access application.
    Other ways of networking in docker..
    2. Host networking - the container will directly use network of host, bind eth network of your host. Whoever has access to host have access to container. Least secure way of networking in docker.
    3. Overlay networking when you need to create a network that is common in all the host of Kubernetes/swarm cluster.

  • @amaldravid4979
    @amaldravid4979 Рік тому +3

    Recently I started following you, Your explanation is really awesome it makes people to understand easily, appreciating your efforts bro ...pls continue the same.

  • @shazadsyed8615
    @shazadsyed8615 5 місяців тому

    Hi abhishek. Firstly thank you so much for your efforts to making this vedios and explaining scenario double.

  • @tejach3354
    @tejach3354 Рік тому +1

    Good session Abhishek bro. One good point your session is person without much technical background can able to catch and since you are not using any typical corporate English words ,we are able to adopt video easily in simple language .

  • @TechTrail-q9ll
    @TechTrail-q9ll 5 місяців тому +1

    Wow, thank you Abhishek, you make everything look so easy.

  • @samuelude6858
    @samuelude6858 Рік тому +1

    Thanks bro, as always simple and excellent way of impacting knowledge. Lesson learnt docker(network)=k8s(namespace). More blessings all the way

  • @spirited_rovers
    @spirited_rovers Рік тому +2

    Thanks for making us to understand the concept in a easy way.

  • @soumyadipchatterjee2267
    @soumyadipchatterjee2267 Рік тому +1

    I feel very fortunate , lucky to associated with you and enhancing my skills . This is a perfect example where you illustrates typical Docker Networking in simple terms and make things understandable . Keep enriching us with such knowledge .😊😇🙏. One question except the Timestamp that How this Networking models can co relate with AWS & other cloud or how we can integrate ? Please make a video on this . Thanks a lot in advance again .

  • @skk-dq4kb
    @skk-dq4kb 11 місяців тому +2

    Outstanding explanation 🤩

  • @abhishekgaikwad5445
    @abhishekgaikwad5445 2 місяці тому

    Thank you so much really got the good idea for Docker

  • @neha_tatpuje
    @neha_tatpuje 6 місяців тому +2

    Amazing explaination❤

  • @avinashreddy2309
    @avinashreddy2309 Рік тому +1

    kudos to you🙌, I have attended paid training before, he didn't even teach this topic.

  • @AshishGupta-oj3qe
    @AshishGupta-oj3qe 6 місяців тому

    Best explanation. You're amazing 🤩

  • @dhandapania1801
    @dhandapania1801 5 місяців тому +1

    Very well explained thanks

  • @vikramraj-jm4we
    @vikramraj-jm4we Місяць тому

    very good knowledge, you should have taught us in overlay networking as well..

  • @monirmostafiz2919
    @monirmostafiz2919 Рік тому +1

    awesome , this is the best for beginner

  • @gokulkrishna4719
    @gokulkrishna4719 16 днів тому

    Gaining much day by day!😊

  • @emmanuel2kus1
    @emmanuel2kus1 2 роки тому +1

    We appreciate you @Abhishek ..Thank you so much

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  2 роки тому +1

      Thanks alot .. Please share it with your friends and colleagues

  • @MaheswariPatra-y4k
    @MaheswariPatra-y4k Рік тому +1

    great explanation.Thank you sir

  • @usc-z6s
    @usc-z6s Місяць тому

    thank you abhishek

  • @biswajitmohapatra2172
    @biswajitmohapatra2172 2 роки тому +2

    Thank you sir for wonderful explanation.. after this please cover docker compose part!!

  • @DeepakKumar-if6mv
    @DeepakKumar-if6mv 2 роки тому +1

    Thanks Abhishek for this video. Please also assist on how one can explain gaps in experience.

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

    Hey abhishek thanks for the wonderful explanation. I have one doubt in this time stamp 20:10 so here we are using the custom bridge to isolate the container. Here is my question -- even custom bridge network also coming from host right as per your diagram. How is this container secure?

  • @lokeshloku7676
    @lokeshloku7676 2 роки тому +1

    Wonderful content

  • @Meigeshpatni
    @Meigeshpatni Рік тому +1

    You are an amazing teacher Abhishek

  • @Aman-fz1ew
    @Aman-fz1ew 5 місяців тому

    understand everything clearly .

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

    Thank you so much Abhishek.. you are awesome

  • @PrasadPuppala-ry1lj
    @PrasadPuppala-ry1lj 4 місяці тому

    Thanks a lot sir ❤

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

    Great information

  • @shubhamchaudhary3689
    @shubhamchaudhary3689 Рік тому +1

    Thank you Abhishek❤

  • @rktech8157
    @rktech8157 2 роки тому +1

    Thank you so much for explaining this networking concept in very easy and clear way. If you have time could you please create a short demo for Overlay network. Thanks in advance.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  2 роки тому +1

      Hi RKtech, I can do that but frankly it will not be of much use for the efforts as overlay networks like calico, sdn can be installed much simpler way once we move to Kubernetes.
      But I will try to do that If I find some time

    • @rktech8157
      @rktech8157 Рік тому

      @@AbhishekVeeramalla Thank you so much!!

  • @anandsrivastava8734
    @anandsrivastava8734 2 роки тому +1

    Thanks @abhishek ..was waiting for this

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  2 роки тому +1

      Please share it if you like the video

    • @anandsrivastava8734
      @anandsrivastava8734 2 роки тому

      @@AbhishekVeeramalla Definitely, however I keep sharing your videos within my group 😊

  • @soubhagyajena9685
    @soubhagyajena9685 2 місяці тому

    100% satisfied

  • @varadvedpatil7208
    @varadvedpatil7208 2 місяці тому

    21:20
    what is detach mode ?
    and you are using docker run (when you created that containers) i don't understand
    we don't need to build container everytime ?
    please explain me

  • @PaulSmith-bx2fq
    @PaulSmith-bx2fq 9 місяців тому

    Superb explanation!

  • @CaliNinja
    @CaliNinja Місяць тому

    Thank you so much!!

  • @NehaMali-w2j
    @NehaMali-w2j Рік тому +1

    Just Awesome.

  • @Adityaa2
    @Adityaa2 Рік тому +2

    Thank you 😊🙏

  • @the_hustling_wanderer
    @the_hustling_wanderer 4 місяці тому

    Thank you Sirji :)

  • @amitbadyal7631
    @amitbadyal7631 Рік тому +2

    hi abhishek videos are great. can you do a favour as you have different videos on interview questions on every tool , can you merge them all and make a long video like mostly asked devops interviews questions or important devops interviews questions like that. it would be very helpful for the students to prepare for the interviews and you can also add new questions into that also. i wish you could see this message.

  • @tusharpatole2130
    @tusharpatole2130 4 місяці тому +2

    30:56 host-demo container will have the same ip from the host subnetting group

  • @kislaysinha9772
    @kislaysinha9772 Рік тому +1

    thank you devops guru

  • @jaykumaranbu7173
    @jaykumaranbu7173 Рік тому +1

    Nice, thanks

  • @GKK120
    @GKK120 Рік тому +1

    Awesome

  • @Deva2596
    @Deva2596 Рік тому +1

    Thank you so much SIr🫡😊🤗

  • @sandhyavishakha
    @sandhyavishakha Рік тому +2

    If possible, please make a video on Docker Compose, it would really help.. Thank you!

  • @shazadsyed8615
    @shazadsyed8615 5 місяців тому

    i had clone your repo and got your files named Docker-Zero-to-Hero. but on 21:12 when you writing command ls I am not getting file first -docker-file and golang-multistage. Please correct If I am doing any wrong

  • @suhanachinchole
    @suhanachinchole Місяць тому

    your hello everyone pronunciation is so cute

  • @ajinkyaugale7427
    @ajinkyaugale7427 2 місяці тому

    Time Stamp: 30:41 The IP of the container will be the same as the IP of the Host machine

  • @anuragnair1862
    @anuragnair1862 Рік тому

    Thank you Abhishek for explaning about docker volumes i have a question how docker manages multiple volumes or storage volumes must be using resource like disk space from host os how storage is managed here pls clear this doubt
    @Abhishek

  • @anandkasina2996
    @anandkasina2996 Рік тому

    hey abhishek i have a doubt here if my host is on xyz range ,then the containers address will also be the same if i were to create the container in that host right?

  • @vageshnp6792
    @vageshnp6792 2 місяці тому

    thank you

  • @lvbg3113
    @lvbg3113 11 місяців тому

    Hi, Question :
    At 14:33 doesnt C2 have its own docker-0 which gets binded to the host network?

  • @priyapriya-nu5vp
    @priyapriya-nu5vp 8 місяців тому

    Thank you sir 😊

  • @Phoenix-2019
    @Phoenix-2019 7 місяців тому

    Abhishek I have to ask question, how input container will talk to Finance container when it is required since we have separated using custom bridge network as front end has to talk to backend.

  • @abheemk
    @abheemk Рік тому +1

    Hi @Abhishek , 31:00 container was created with host network, and ip address corrsponds to host machine, how do we access that container if we have to ?

  • @ThePercivalGlyde
    @ThePercivalGlyde 2 місяці тому

    good

  • @ImtiazAli-in7gk
    @ImtiazAli-in7gk Рік тому +1

    sir you are best I have one question regarding Cloning Repository. Sir is it neccesery to clone your Repoitory to do practice or we can create our own?

  • @bhanuteja_04
    @bhanuteja_04 10 місяців тому

    Hello Abhishek i have a doubt..(31.36)
    When we run the container using the host network we can access the container using the host ip ..then..why dont we see the ip of the host machine in the network section when we inspect the container using the host network?

    • @talkwithyusufzai7917
      @talkwithyusufzai7917 10 місяців тому

      Because you are inspecting the container not the host if you want to see host ip hit this command "ip addr show
      "

  • @Maayu25
    @Maayu25 4 місяці тому

    hi abhishek i have one doubt what is docker compose can please explains

  • @rajkajave
    @rajkajave Рік тому +1

    Is there any way login container can talk with finance in case any specific app from login need info from finance?

  • @amarnathmansali2687
    @amarnathmansali2687 Рік тому +1

    Time stamp 4:10 - can we consider container c1 and c2 as microservice 1 and microservice 2 , since containers are deployed as microservice or how pls clarify. TIA 😊

  • @Yawar_Manzoor
    @Yawar_Manzoor 5 місяців тому

    i did it i created custom bridge network ,i tried to ping it from default bridge network container it doesn't work as you did.
    but the question is when i tried to ping container that have default bridge network form custom bridge network container why it not woks as the are on the same host....
    thanks for the great videos..

  • @vinaykumarmatam3708
    @vinaykumarmatam3708 Рік тому +1

    Thanks..... What about docker service, docker swarm and docker compose

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому

      We will not cover them in this course .. May be sometime after this course as many people are asking for docker compose

    • @vinaykumarmatam3708
      @vinaykumarmatam3708 Рік тому

      @@AbhishekVeeramalla okk thank you

  • @BindhuK-p7t
    @BindhuK-p7t 2 місяці тому

    Hi Abhishek
    When you said Host bridge why it is showing null instead of actual ip when executing inspect command

  • @Rameshpowervlogs
    @Rameshpowervlogs Рік тому +1

    super bro

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

    #Network driver summary
    1)The default bridge network is good for running containers that don't require special networking capabilities.
    2)User-defined bridge networks enable containers on the same Docker host to communicate with each other. A user-defined network typically defines an isolated network for multiple containers belonging to a common project or component.
    3)Host network shares the host's network with the container. When you use this driver, the container's network isn't isolated from the host.
    4)Overlay networks are best when you need containers running on different Docker hosts to communicate, or when multiple applications work together using Swarm services.

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

    i have one question if bridge network error like container on the same host it will generate different subnet of each container how to resolve issue related bridge networking?

  • @shashankchoubey9253
    @shashankchoubey9253 Рік тому

    very helpful :)

  • @bikensharma4577
    @bikensharma4577 Рік тому

    15:30 if we use bridge network too i guess it's fine as our instance will be in a private subnet....am i right in this case?

  • @prasadsardeshmukh3898
    @prasadsardeshmukh3898 4 місяці тому

    @7:45 Is virtual network and virtual ethernet same ?

  • @Sureshthebrokenking
    @Sureshthebrokenking Рік тому +1

    @6:36 Brother I have a doubt, we are launching the host in one specific subnet, but when the container get created in another subnet, how is it possible

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому

      A seperate isolated network is created for the containers and this netowrk is shared with the hosts.
      By default the network created is bridge network.

  • @brianhaessel6578
    @brianhaessel6578 Рік тому +1

    I use podman, I followed your tutorial, my finance container can talk to the others on different bridge?

  • @dillu-k5f
    @dillu-k5f 6 місяців тому

    After Docker Image and container creation then how to run image through cli?

  • @durgaprasad6460
    @durgaprasad6460 Рік тому

    If multiple containers are created on the same host , are all containers connected to the same veth by default

  • @sibaprasadbisoi90
    @sibaprasadbisoi90 Рік тому +1

    @abhishekveramalla anna - how do the containers communicate after restart as ip and hostnames are dynamic ?

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому

      You will learn exactly the same thing in next classes

    • @sibaprasadbisoi90
      @sibaprasadbisoi90 Рік тому

      thank you so much@@AbhishekVeeramalla excellent work, i wish you grow more and more.

  • @sudheer1302
    @sudheer1302 2 місяці тому

    where is the nginix:latest docker file and it is not available in the git repo as well

  • @chetank-ed6wu
    @chetank-ed6wu 9 місяців тому

    Please explain about docker compose

  • @Ethanhunt-p8u
    @Ethanhunt-p8u 5 місяців тому

    After creating a custom network , how can we communicate with that container ?