The Docker HOST and MACVLAN Networks - Docker Networks part 2

The Docker HOST and MACVLAN Networks - Docker Networks part 2

OneMarcFifty

3 года назад

27,124 Просмотров

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


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

@stampeder1686
@stampeder1686 - 13.12.2023 18:22

Marc: I just discovered you videos on Docker Networking. I must say they are the best I have seen yet. I have been using Portainer for several years now and yours is the first docker networking videos that actually use Portainer. Thanks for that. I am disappointed however, that I don't see any videos on IPVLAN's. Are you planning on doing videos on ipvlanL2 and ipvlanl3. I think you would do an excellent job!! Thanks again.

Ответить
@turbochip1208
@turbochip1208 - 04.09.2023 01:49

I've been fighting with this for 2 full days. Thank you, Thank you. Now I have the application that "HAS" to be on the same network as the host, there on a macvlan, and the other containers on a local bridge network they share with that app.

Ответить
@demanuDJ
@demanuDJ - 29.07.2023 14:06

will you make videos about differences between ipvlan and macvlan in docker networking?

Ответить
@WebystherNunes
@WebystherNunes - 14.05.2023 09:42

Great video! Have any command to notify the router about the macvlan created with specific ip?

Ответить
@stephengarrod360
@stephengarrod360 - 15.04.2023 17:14

Hi Marc,

Thank you for your wonderful tutorials, you have a great way of explaning things clearly!

I have also been following the OpenWRT VLAN tutorials and, as I am running Docker on OpenWRT (on a NanoPi R5S), I wondered whether you would cosider doing a tutorial about that?
Specifically how the networking in Docker relates to the VLANs in OpenWRT. At the moment, my Docker containers are accessible from all VLANs and I don't fully understand why and how to make Docker 'VLAN aware'?

Anyway, thanks again for making these and sharing with us
👍

Ответить
@Anonymouzee
@Anonymouzee - 21.03.2023 01:35

"Ózóne"... Marc... let's go to the import of a vhd(x) to inside a container... ;-)

Ответить
@user-np2xe2ri4x
@user-np2xe2ri4x - 28.02.2023 15:33

This video material should be on the official docker documentation website

Ответить
@anonymuzz5102
@anonymuzz5102 - 14.01.2023 09:19

I just want to be able to have static ips in my lan by mapping mac to ip once router dhcp gives ip... but of course portainer makes this wonky for me...thanks for great video i will need to figure out a subnet solution.... UGH, why is this so hard i thought having docker container as static IP on LAN would be easy since many used that... but nope, so close, but no cigar...

Ответить
@doge1931
@doge1931 - 06.12.2022 02:23

keep it going my dude, networking is one of the most difficult things for me to grasp when it comes to docker/portainer

Ответить
@CedricJoly
@CedricJoly - 17.11.2022 21:40

This 2 part tutorial are the first of your videos I watch. I have been self-training in docker for the last few weeks and these are the best introduction to the topic of docker networking I have found by far. Love the hands on approach with exercises that really help get the notions clarified. Bravo! subscribed now.

Ответить
@dakzer55
@dakzer55 - 16.11.2022 00:53

You have saved me, I have tried all the google tutorials online. But terminal did not work to enable access from other non docker machines on my network to my macvlan container. Thank you so much 🙏

Ответить
@shuvomist
@shuvomist - 28.08.2022 08:24

Nice. Thank you & team for the efforts

Ответить
@jairunet
@jairunet - 12.07.2022 09:28

Fantastic, it will be great to know more about the docker-compose features as it seems like a way to automate the deployment of the docker images. I also agree with creating a tutorial using two different physical hosts, docker hosts, and take it to the next level by simulating a larger project of containers. Thank you very much Marc! all the very best and until the next one.

Ответить
@loaiabdallatif4947
@loaiabdallatif4947 - 05.07.2022 23:38

Thank you very much , a lot of info , please more videos on Firewall for docker networking and docker swarm

Ответить
@oliviandosse2839
@oliviandosse2839 - 05.07.2022 10:41

Hi,thanks for thé video.
When I do the dhcpcd interface name
It says interface not found or invalid dhcpcd exited
My interface is enp0s31f6 and it is the same interface on my host machine with ubuntu 18.04.
What could be the problem please

Ответить
@tubejim101
@tubejim101 - 17.06.2022 21:44

Did you end up making a video showing how to import a disk image in a docker container?

Ответить
@rsporsche
@rsporsche - 13.06.2022 11:07

I would love to know the reason portainer requires these 'config' macvlan networks. Does it provide any benefit or is it just to work around some issue integrating with Docker?

Btw, when setting up the macvlan network you said that you configured an ip range that has nothing to do with your LAN but it was within the same subnet so I did I miss something? Honestly I don't understand what the purpose of the IP Range is since it doesn't seem to be possible to define an arbitrary range and I couldn't subsequently create the actual macvlan network unless the gateway address was within the 'IP range', even though the gateway address was within the subnet.

Ответить
@gotelldonn
@gotelldonn - 09.05.2022 00:32

I would like to see comparison of macvlan vs. ipvlan networks in docker, and some practical examples of each. Thanks again for your terrific videos!

Ответить
@ivanhansson2195
@ivanhansson2195 - 27.04.2022 11:00

Marc, I really like your videos. But! I have a problem when it comes to get an IP with DHCPCD every time and I went through that section over and over again but with the same results: 
dhcpcd eth0
eth0: if_init: Read-only file system
eth0: interface not found or invalid
dhcpcd exited
I can't understand what I'm missing here. Please advice if you can.

Ответить
@migy220
@migy220 - 13.04.2022 06:40

Hey, would like to know what OS you're using for this demo?

Ответить
@alfarahat
@alfarahat - 10.04.2022 00:58

Very useful, please do how to make firewall containers

Ответить
@marcosantucci7132
@marcosantucci7132 - 28.02.2022 04:31

Macvlan is supported on cloud instances ex: aws?

Ответить
@1uqman
@1uqman - 22.02.2022 22:46

I would like to thank you for this very useful video and wish you good luck in your future work.

Ответить
@twincitiespcmd
@twincitiespcmd - 17.02.2022 00:13

Hi Marc. Pretty late to the party but ran into a couple of problems with some of the steps in the video whose content I would say is excellent! I am running Docker in VirtualBox on Windows 10 with the adapter in bridged mode. I never was able to resolve the address of client on the Docker container in bridged mode when doing iperf3 -c <docker bridged ip address>. I also never was able to get Docker container to be able to ping an address on the macvlan even after successfully getting a DHCP address from my DHCP server even though the VirtualBox adapter was bridged and set to promiscuous mode. Any thoughts or pointers to where I might be able to resolve these two problems?

Ответить
@francocastillook
@francocastillook - 11.02.2022 19:47

I would have liked to see how to connect to the containers from the host using macvlan, but I can understand that it was getting off topic.

Ответить
@alexz.1396
@alexz.1396 - 01.02.2022 23:08

Marc, thank you for amazing videos that you have made! you made me make my home network a better place for my family :). One question on the topic of this section.
After I restart the container, the ip address of the eth.x interface is back from the DHCPCD to the MACVLAN that we have created for local use. Do you know if there is a way to set it up so that the machine would always get the Primary LAN ip address? Thanks!

Ответить
@dennisn9207
@dennisn9207 - 25.12.2021 06:20

I liked the video, very informative. But in the video you mentioned about setting a defined mac address for the container, and you don't show how to do that... Such a missed opportunity. You should at least post the commands in the video description.

Ответить
@rvanwaay
@rvanwaay - 13.11.2021 20:44

I love your tutorials, thanks a lot from Enschede NL !!!

Ответить
@abdelilah_hmidani
@abdelilah_hmidani - 22.10.2021 04:50

great 👍 thank you 😊

Ответить
@kristoffseisler2163
@kristoffseisler2163 - 07.10.2021 10:53

what if i want to use a socks5 proxy to route certain machines from a lan on one subnet through a different gateway on another subnet that only my router-server is connected to via its two nics? how would i go about doing that with docker?

Ответить
@vlados3966
@vlados3966 - 26.09.2021 23:15

Thank You. Your way of explanation make me docker networking more interesting.When could we expect more videos about docker swarm with two ore more hosts and overlay and ingress networks?
Great content that we cannot find anywhere else.

Ответить
@irtibatkisileri222
@irtibatkisileri222 - 19.09.2021 11:46

macvlan did not work for me.

Ответить
@bahmanhatami2573
@bahmanhatami2573 - 19.09.2021 03:42

Great job. great content that you can't find maybe anywhere else; because he's mixing something enthusiastic with something scientific.

Ответить
@irtibatkisileri222
@irtibatkisileri222 - 18.09.2021 22:40

awesome !!

Ответить
@mgveloso1
@mgveloso1 - 16.09.2021 16:00

You have discussed a very useful capability of a docker host/container in MACVLAN... I have not found this searching many tutorials in which I am sure there should be... Imagine a docker firewall inside a host, with all packets passing thru and processed by the docker firewall; even the host should use the guest docker firewall as its gateway to the outside world.

The security possibilities will be endless in this arrangement, as all services can be made to only have a bridge internal IP, all using the docker firewall. ALL as in all packets inisde or outside should be made to pass only thru the firewall. Since this firewall is a docker instance, everything will be very flexible, easy and secure.

That is why I have searched for this docker capability, MACVLAN will make this possible.

Thank you for your good and clear overview. God bless.

Ответить
@bootifulghost8624
@bootifulghost8624 - 11.09.2021 22:42

Awesome Tutorials, learned a lot in Part 1 and had my head explode in Part 2 :'D. Could you possibly create a tutorial, how to create and configure the docker networks correctly, so you could expose services run in docker to the outside world (ideally with a domain) - so basicly including portforwarding and a reverse proxy?

I am mainly asking because I have a slight Network related issue or I believe it is. I have 2 physical devices behind my router, that I both want to expose to the internet. One is a Synology-NAS and the other being a NUC-Server with Ubuntu, Docker, Webmin installed (from your other Tutorial). What I'm currently trying is to use nginx or traefik to forward the incoming requests for services run on the NUC-Server correctly. However I might have understood something wrong how to configure the ports in my router or in the docker networks. Right now I have port 80/443 opened which point to my NUC, where I also run nginx reverse proxy and I'm trying to point to various services and the NAS as well. However I really never got everything to work and maybe a tutorial would help.

Appreciate your tutorials, because they are well structured and very thought through! Thanks

Ответить
@nukelf
@nukelf - 22.08.2021 14:57

Usualy I don't hit the subscribe button very fast, but in this case 2 out of 2 videos where just amazingliy good. Thanks for this easy understandable video with with comprehensible examples!

Ответить
@henkdevries5042
@henkdevries5042 - 21.08.2021 13:26

WOW!! Looked for promox and looked for hours!! Very good job, thank you!!
Many questions but have to get new hardware first to install proxmox.
First to ask is: can you convert a running metal machine and convert it into a virtual machine? Very curious in this item!

Yes, I still use VMWare where 9 servers are running for long time. Also use Parallels on MAC and Virtual box for testing. I was Novell guy since 3.11 (1988) and grew along till 2008. Then changed job and country and got never really back into networks. Too bad, miss it! Time to retire soon and get back into networks and pick up some programming!

Ответить
@ameenal-azzawi2180
@ameenal-azzawi2180 - 13.08.2021 13:04

A testbed of OpenWrt on docker would be great...

Ответить
@Alex-Shadow
@Alex-Shadow - 31.07.2021 11:51

Great video, thank you!

Ответить
@davidcrane7397
@davidcrane7397 - 09.07.2021 09:50

Really excellent videos - I finally think I'm getting to understand docker networking! I find your explanations and demos very clear (even if I have to watch them a few times). There were a couple of comments about you going too fast, I have to say I didn't find that: I stop try what you've suggested and replay - that works for me.

Ответить
@Kzzzxr
@Kzzzxr - 22.06.2021 21:18

Hello Marc. Nice two videos for newbies on docker. Keep it up. When possible do OpenWRT on docker with adblock and setup as a gateway pc.

Ответить
@mingkwanburckhardt
@mingkwanburckhardt - 22.06.2021 20:32

Hi, ich habe gesehen, dass du da openwrt als Container hast. Kannst du dazu ein Video machen? Ich bekomme das leider einfach nicht zum laufen...

Ответить
@DanielCruz-si9gf
@DanielCruz-si9gf - 15.06.2021 10:03

Another great video! Thank you for the useful content and keep up the good work. I would love to see more docker networking as well as security. Would be great to see how to segregate services and and access control.

Ответить
@technology_consultant
@technology_consultant - 14.06.2021 17:10

Really like the way you described it. But frankly while demonstrating, your pace is too fast. Please keep your pace slow, and explain it a little further in-depth.

Ответить
@AntonPopov_
@AntonPopov_ - 14.06.2021 08:52

Thanks for the great video! Considering all of the lately topics, have you considered a video on how to configure two routers for high availability? I think it would be useful when having your main router as а VM in Proxmox configured with a backup router when updating the Proxmox host or during debugging.

Ответить
@facorner11
@facorner11 - 13.06.2021 14:00

Nice

Ответить
@jeytis72
@jeytis72 - 13.06.2021 12:41

Of course yes! We are all interested into your next docker networking video!!

Ответить
@TheAkabuck2001
@TheAkabuck2001 - 13.06.2021 10:23

thanks for the video! very useful and easy to follow for someone just starting out

Ответить