Docker Networking Crash Course

Docker Networking Crash Course

Hussein Nasser

1 год назад

79,723 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

sadiq ali
sadiq ali - 22.09.2023 13:12

Thanks, Hussain, amazing as always!

- One thing I'd mention is that I can run apt-get commands by exec the container as root user "sudo docker exec -u 0 -it <nameOrID> bash" if you do not want to install them in the Dockerfile.
- Can you explain how to allowt he container call the localhost, in my case I want the application in my container to interact with API that runs locally in my machine

Ответить
sevensolutions
sevensolutions - 09.09.2023 09:43

Thx Hussein, this is one of the best Docker Networking videos 👍

Ответить
Shazzad Hossain Khan
Shazzad Hossain Khan - 14.08.2023 03:45

Thank you very much for making the video. Learned very important thing about networking.

Ответить
Eduardo Romão
Eduardo Romão - 03.08.2023 04:12

For local develpment I need to allow my host network to know/see and bridge network. How can I configure my network to do that? I use Ubuntu 22.04 and in Ubuntu 20.04 I can do that by default.

In my case I have a "mybridgenetwork" and have a defined ipam. My containers share this network and each container has a specific IPV4 IP.

From my host, I configure my hosts file to redirect the containers IP to specific URL (it's a complex environment).

Now in Ubuntu 22.04 I can't do that 😢

Someone have a magic trick?

Ответить
Alwaha
Alwaha - 20.07.2023 01:39

Good tnx habibi 🙂

Ответить
My Discovery
My Discovery - 13.07.2023 19:45

This is a really excellent video. thank you

Ответить
Kalma Brooks
Kalma Brooks - 30.06.2023 21:59

Enjoyed every min of this video!!! This was FIRE 🔥, especially how you narrated the vid was funny. Kept me engaged 👌🏾

Ответить
Programming Interviews Preparation
Programming Interviews Preparation - 02.06.2023 10:16

Pleae K8S networking tutorials and general k8s tutorials Save Our Souls Nasser!! ❤😢😢🥺🥺🥹🥹

Ответить
Sabit
Sabit - 25.04.2023 08:48

Kubernetes Networking please!

Ответить
YX S
YX S - 03.04.2023 20:16

thank u so much

Ответить
Zack
Zack - 24.03.2023 16:44

But can you have an isolated network that can't directly connect to the internet through the host bridge but then use another network as gateway?

Ответить
Chris
Chris - 20.03.2023 14:25

Awesome content 👍🏽

Ответить
Raghav N
Raghav N - 04.03.2023 10:36

fantastic

Ответить
Empuraan
Empuraan - 23.02.2023 10:38

300k subs... congrats and keep going HN !

Ответить
Kiran Bhanushali
Kiran Bhanushali - 17.02.2023 23:11

best video for docker networking

Ответить
Adam
Adam - 31.01.2023 00:42

Awesome video Hussein. Would love to see some content for Docker Compose too, as that's mainly how I work with Docker

Ответить
Muhammad Ahmed
Muhammad Ahmed - 23.01.2023 16:26

Hi hussain, could it be possible if we don't create the gw container. But instead we create just the gw network and attach both of these containers s1 and s2 to that network?

Ответить
אייל גל
אייל גל - 22.01.2023 13:56

Awesome video !
very nice and simple to understand !

Ответить
Lokra
Lokra - 18.01.2023 16:25

Hahaha what a joke. Run some commands for a week, then make a crash course ahahahahhhahahaha

Ответить
FloatingMammoth
FloatingMammoth - 31.12.2022 16:50

you have to make the network attachable to new containers with the ‘—-attachable’ option when you want to add services to an existing external network. And with overlay network options it gives you more flexibility. Especially when networking containers to swarm services.

Edit: that is if i understand your frustration with restrictive docker. Im a docker shill…

Ответить
Pixelbog Pixxelbog
Pixelbog Pixxelbog - 28.12.2022 14:54

1010/1010 Video. Really amazing work :)

Ответить
Ameed Jamous
Ameed Jamous - 04.12.2022 02:08

Great stuff Hussein. Thanks for putting this video together. Looking forward to your next docker video.

Ответить
Allen Ive
Allen Ive - 14.11.2022 14:51

What about accessing localhost from a container ? In linux it’s ok but not mac and windows. Can someone explain that ?

Ответить
Vĩnh Lộc Huỳnh
Vĩnh Lộc Huỳnh - 12.11.2022 18:22

I used ubuntu before and still got confused about networking when using docker in macos. This is very useful

Ответить
Jason Jente
Jason Jente - 01.11.2022 11:37

Really enjoyable content and very high quality, many things got clarified along the way! Thanks for the clarifications!

Ответить
Dajjal
Dajjal - 31.10.2022 18:18

One of the best video, a tiny error in image diagram where you swap the network frontend from backend and vice-versa

Ответить
Elijah Hadasevich
Elijah Hadasevich - 31.10.2022 17:35

Mr.Hussein, if you happen to have a time could you please make a video or a paid course on how to design and build highload backend architecture and all that kind of stuff? For example how to build architecture which could support 10-50k requests per second, thanks for your work!

Ответить
Darren Horwitz
Darren Horwitz - 29.10.2022 14:50

Hey , great tutorial ! Could you please 3xplain how gw container was able to forward the packets without any further configuration on the container ? I understand it has interfaces in both subnets and the rtb changes for s1 and s2 to use gw as gateway for those respective cidr ranges , but I still don't understand how it was able to automatically for the packets ...

Ответить
abdul mobeen
abdul mobeen - 28.10.2022 18:32

Can you make a video on - Docker & Microservices

Ответить
kirglow
kirglow - 26.10.2022 11:41

Your videos are a treasure trove. Thank you

Ответить
joostvhts
joostvhts - 26.10.2022 09:40

Hey, what happened to whatsapp yesterday?

Ответить
Christian Ibiri
Christian Ibiri - 26.10.2022 03:28

This video is awesome! very very detailed explanation about how container network works.

Ответить
widy guilias
widy guilias - 25.10.2022 16:49

Can you make video about whatsapp outage, please?

Ответить
Matias Batarce
Matias Batarce - 25.10.2022 05:43

great tutorial! I've learn a lot of networking watching your videos, thank you. About the DNS, is it possible to add an IP route rule to use the gate way container as the DNS for both S1 and s2?

Ответить
dasten123
dasten123 - 24.10.2022 22:27

is that how docker-compose does it in the background?

Ответить
fullnaoufal
fullnaoufal - 24.10.2022 21:00

Hey Hussein
Thanks for this content.
I have a question, why you never gire a comparaison between open source database like postgresql, mysql and property database like sql server, may be I'm wrong ? 😊

Ответить
Kamande john
Kamande john - 24.10.2022 20:21

Good job Hussein ... do something on k8

Ответить
Ayuob Mousa
Ayuob Mousa - 24.10.2022 18:19

Awesome Hussein

Ответить
shaheer zaman
shaheer zaman - 24.10.2022 16:05

this was such a nice tutorial

Ответить
Priyanka B
Priyanka B - 24.10.2022 15:37

This was amazing, really enjoyed the tutorial

Ответить