Docker Networking Tutorial, ALL Network Types explained!

Docker Networking Tutorial where I explain all network types, that you need to know! I show you how and when you should use the different network types and what you need to consider.
Based on the official Documentation: docs.docker.com/network/ #Docker #DockerNetworking #HomeLab
Kubernetes Tutorial: • Kubernetes explained s...
Get started with Docker: • How to use Docker and ...
Teleport-*: goteleport.com/thedigitallife
Follow me:
TWITTER: / christianlempa
INSTAGRAM: / christianlempa
DISCORD: / discord
GITHUB: github.com/christianlempa
PATREON: / christianlempa
MY EQUIPMENT: kit.co/christianlempa
Timestamps:
00:00 - Introduction
01:02 - Why should you configure Docker Networks?
01:55 - The Default Bridge Network
04:20 - The Custom Bridge Network
08:52 - Bridge Networks and Container Isolation
09:52 - The Host Network
10:49 - When to use MACVLANs or IPVLAN?
12:38 - The MACVLAN Network
17:55 - The IPVLAN Network
19:05 - Summary and what about Overlay Networks?
________________
All links with "*" are affiliate links.

Пікірлер: 237

  • @esra_erimez
    @esra_erimez2 жыл бұрын

    Okay, watching this at normal speed!

  • @BenReese

    @BenReese

    2 жыл бұрын

    😂 I listened at 2x while vaccuming, but will definitely have to review again later for the mac/IP vlan stuff.

  • @tmagrit

    @tmagrit

    Жыл бұрын

    Totally 🤣

  • @SitarHero28

    @SitarHero28

    Жыл бұрын

    I thought I was in 2x speed lol. This dude knows his stuff.

  • @ivandrofly

    @ivandrofly

    27 күн бұрын

    I nearly reach the speed of light when speeded to 2x

  • @esra_erimez

    @esra_erimez

    27 күн бұрын

    @@ivandrofly 🤣

  • @Ellyll
    @Ellyll Жыл бұрын

    This video was really helpful for me to get a nice quick understanding of docker networking, thank you!

  • @jayp9158
    @jayp9158 Жыл бұрын

    Incredible video. I’m currently binge watching your channel and I’m amazed by the the quality of all your content. Keep it going man, you are great!

  • @FinbarrAherne
    @FinbarrAherne2 жыл бұрын

    This is exactly what I was looking for! Thank you for the clear and concise explanations for all the different network configs, and also for stepping through each.

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Glad it was helpful!

  • @umarchy
    @umarchy Жыл бұрын

    Nice video cristian. The explanation was concise. Just learned about the macvlan through your video. Thanks.

  • @xcaptz
    @xcaptz2 жыл бұрын

    So amazing, this video saves me a lot of research 🧐. Well, thanks a lot bro!

  • @D3M0320
    @D3M03202 жыл бұрын

    Your videos are absolutely fantastic!! I used some of your tutorials to stand up docker / portainer on my raspberry pi to self host some things without having a potentially power hungry and noisy desktop running 24/7. I greatly appreciate the time you take to provide these wonderful videos!

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thank you so much! I'm glad you like the videos :)

  • @giovannipetroselli6103
    @giovannipetroselli61032 жыл бұрын

    Very clear and precise. All your videos are amazing. Thanks Cristian!

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thank you so much 😃

  • @AnythingGodamnit
    @AnythingGodamnit9 ай бұрын

    Loved this, thank you. I now feel like I have the knowledge to solve my current Docker networking problem - excited to try!

  • @christianlempa

    @christianlempa

    9 ай бұрын

    Thanks for watching :)

  • @c-pup
    @c-pup2 жыл бұрын

    Yet another great video! I've recently been struggling setting up two piholes on the same host and your explanation of macvlan was 1000% times more concise than every other forum that I've read through over the past couple days. Keep up the great work! Liked and subscribed!

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thank you so much! Great to hear that :)

  • @mal-avcisi9783

    @mal-avcisi9783

    Жыл бұрын

    this guy knows his shiat. bravo !

  • @datpspguy
    @datpspguy Жыл бұрын

    i'll be completely honest, i was literally thinking about this and probably mentioned it out loud near my computer and "boom" this was in my homepage waiting. I was trying to figure out if I should build a lab using containers w/ static IP's or just use Virtualbox in bridged mode so this really helped me.

  • @FabianoChagas
    @FabianoChagas Жыл бұрын

    Awesome as always! Thanks for sharing

  • @palandiagmail
    @palandiagmail11 ай бұрын

    Amazing explanation thanks

  • @ErickWarden
    @ErickWarden7 ай бұрын

    Earned a subscriber with this one!! This helped me fix my Docker home assistant network problem!

  • @HiltonT69
    @HiltonT692 жыл бұрын

    This is a great, clear and concise explanation of these different network types. :)

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thanks! 😀

  • @rrr92462
    @rrr924625 ай бұрын

    Excellent video. Great examples and explanations.

  • @localadm
    @localadm2 жыл бұрын

    this is very good stuff, well explained. going to check that with dockerized pi-hole or adguard. thanks a bunch!

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thanks mate! ❤

  • @jeytis72
    @jeytis722 жыл бұрын

    Great job, Christian. Very clear and informative... as always. Thanks

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thank you! :)

  • @majidalikhanquaid984
    @majidalikhanquaid9842 жыл бұрын

    Clear and too the point, that's what I was looking for !! Thank you so much

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Glad it helped!

  • @jlamoree
    @jlamoree2 жыл бұрын

    This was very helpful. Thank you!

  • @rathio7662
    @rathio76622 жыл бұрын

    Hello Christian, your videos are great, from my side perfect to understand. Please stay tuned, I learned so much.

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thanks, I'm glad you like them:)

  • @AlejandroRodriguez-wt2mk
    @AlejandroRodriguez-wt2mk Жыл бұрын

    wonderful work

  • @yoddy0
    @yoddy0 Жыл бұрын

    Thanks for the insight on the various network drivers on docker. I blindly used a macvlan from a tutorial for pihole but wanted to understand how it works.

  • @xseman
    @xseman2 жыл бұрын

    simple explanation even with examples, great stuff!

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Glad you liked it!

  • @dakzer55
    @dakzer552 жыл бұрын

    Thank you for this refresher on docker networking. Has fixed my issue with trying to get HADR for Sql Server instances running in docker

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    You're welcome! Glad it helped you :)

  • @oppailover3087
    @oppailover3087 Жыл бұрын

    Thank You man! I was just randomly watching this video and figured out how to solve port 53 issue for pi-hole in docker

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Thank you! I’m glad it helped you :)

  • @josel82
    @josel82 Жыл бұрын

    Really good video. Very well explained and well produced. You got yourself a new suscriber 👍🏽

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Thanks and welcome

  • @pierrer3109
    @pierrer3109 Жыл бұрын

    Thanks ! Great explanations. Have a nice day

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Thx you too ;)

  • @John._.T
    @John._.T Жыл бұрын

    Really informative. Just stumbled on to your channel. Fast paced and great information. Just managed to keep up as I'm completely new to docker. Subscribed to your channel. Thanks 🙂

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Thank you! Hope you find some useful stuff here :)

  • @thegrimreaper156
    @thegrimreaper156 Жыл бұрын

    I spent probably 3h figuring out how to assign another external IP to a Bind9 container, doing a lot of research and trying with ChatGPT. Found your video, solved in 5min !!!

  • @alex.username
    @alex.username3 ай бұрын

    What a concise, well structured and informative video!

  • @christianlempa

    @christianlempa

    3 ай бұрын

    thank you so much!

  • @jakedeng2288
    @jakedeng22882 жыл бұрын

    very useful video, I solved one of my docker issues right after watching this!

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thank you! :) Glad you could solve some issues with it!

  • @axreds
    @axreds Жыл бұрын

    even if the video is 1 year old it made my day!!! Thanks Chris very clear and well done

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Thank you :) I’m glad it helps you!

  • @PeterBatah
    @PeterBatah4 ай бұрын

    I created a docker instance in VMWare ESXi and proceeded to follow your instructions. I could not get past the part where I assigned the newly created macvlan to an nginx container for example. The fix was to configure "Promiscuous Mode set to Accept" in my VMWare network settings. In case anyone should run into the same issue. Thank you for sharing Christian. Much appreciated as always. All the best in 2024.

  • @chriscrafty
    @chriscrafty Жыл бұрын

    This was very helpful - thank you!

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Glad it was helpful!

  • @Error_404-F.cks_Not_Found
    @Error_404-F.cks_Not_Found2 жыл бұрын

    Best docker video i've watched. Super informative.

  • @Error_404-F.cks_Not_Found

    @Error_404-F.cks_Not_Found

    2 жыл бұрын

    I will say it would have been nice to see all these in compose also though.

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Wow, thanks!

  • @GlenMillard
    @GlenMillard2 жыл бұрын

    Now I have watched your video - it was very informative. Thanks much for this. Much appreciated! 😎😎

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thank you ;)

  • @zhitoooo
    @zhitoooo7 ай бұрын

    short, useful , great, awesome thanks alot

  • @marcoroose9973
    @marcoroose99732 жыл бұрын

    Thanks for this video and especially for the netshoot hint. This was something I missed a lot - until now ;-)

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    You're welcome! :)

  • @paulkalus41
    @paulkalus41 Жыл бұрын

    Hi Cristian, this is a another great video. The Macvlan part is something I've been searching and searching for, always coming to a dead end. The way you have explained and demonstrated it is spot on and has solved my issues, and I've actually learned something! :)

  • @ricoshen18
    @ricoshen18Ай бұрын

    great job.

  • @yaroslavozerov1121
    @yaroslavozerov11218 ай бұрын

    Bro! Thanks for the video, but the biggest thanks for picture on your t-shirt! I had such poster on my wall in 90th! That's awsome))

  • @liquidintegrity
    @liquidintegrity2 жыл бұрын

    Wow. Just wow. Thank you!

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    You're very welcome!

  • @okoeroo
    @okoeroo2 жыл бұрын

    Excellent explanation

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thanks ❤

  • @donya_ayandeh
    @donya_ayandeh Жыл бұрын

    You're wonderful 👍

  • @HideBuz
    @HideBuz10 ай бұрын

    Finally somebody who explains that stuff clearly and without jargon! Thank you so much for your contributation!

  • @GlenMillard
    @GlenMillard2 жыл бұрын

    I just started watching and I hope this lands nicely! You sound exactly like 'Klaus' on 'American Dad' I love the show, by the way. Now I'm going to watch your video!

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    lol

  • @awd4ever
    @awd4ever2 жыл бұрын

    Thank you

  • @sbkpilot1
    @sbkpilot1 Жыл бұрын

    Great video! One thing I noticed is that in WSL2 with Docker Desktop the behavior is rather different - when you create a new bridge network there is no interface created. I wonder how it works in this case.

  • @cloud2050
    @cloud2050 Жыл бұрын

    Great video! You cleared up my confusion on docker network. BTW! What are you using to show the AD block statistics in your browser startpage?

  • @nicoladellino8124
    @nicoladellino81242 жыл бұрын

    Nice video, TNX

  • @spop1974
    @spop19742 жыл бұрын

    Great stuff! Thanks!

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Glad you liked it!

  • @nicoladellino8124
    @nicoladellino8124 Жыл бұрын

    Very nice video, THX.

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Thanks! :)

  • @Eratzer
    @Eratzer Жыл бұрын

    Thx macvlan is what i needed for some containers

  • @christianlempa

    @christianlempa

    Жыл бұрын

    👍

  • @lakshminarasimmanv
    @lakshminarasimmanv2 жыл бұрын

    it would be helpful if you can make a dedicated video on overlay networks and try to install Traefik and Portainer in swarm mode.

  • @mal-avcisi9783
    @mal-avcisi9783 Жыл бұрын

    this guy knows his shiat. bravo !

  • @mr.wayfarer6082
    @mr.wayfarer60822 жыл бұрын

    Much appreciated, sir. Home Assistant and Plex containers conflict listening the same 1900 port while running on bridge connection fe

  • @cjntrade4717
    @cjntrade4717 Жыл бұрын

    Awesome brother

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Thx

  • @HewaSaleem
    @HewaSaleem2 жыл бұрын

    Moin Moin, Best explanation ever! keep up.

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Moin moin! Danke :)

  • @derBerg
    @derBerg2 жыл бұрын

    VIelen Dank! Ich kann nicht verstehen, wie Menschen hier downvoten.. Very interesting! As a guy having a new job in IT as a career changer i need to close alot of knowledge gaps of stuff which seems to be common sense in IT. I like your style!

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Vielen Dank! :)

  • @sidharthanp5163
    @sidharthanp51632 жыл бұрын

    Great video.

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thanks!

  • @anikrahman9871
    @anikrahman9871 Жыл бұрын

    Your video is fantastic

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Thank you so much 😀

  • @jameshunt5184
    @jameshunt5184 Жыл бұрын

    Awesome video, really liking your content 🔥 I was wondering if you could help clear up something. In portainer I'm able to change the network of a container to 'container' mode that allows me to run containers through another containers network. In my case I run containers through a VPN container. However how is this done in a Docker compose file?

  • @ivandrofly
    @ivandrofly27 күн бұрын

    4:21 - DNS limitation by using the DEFAULT bridge network 10:51 - mentioned about PI-hole (adguard like) issue

  • @rhb.digital
    @rhb.digital2 жыл бұрын

    good stuff.. thnx

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thanks!

  • @wieliewiel2630
    @wieliewiel26302 жыл бұрын

    Great video!

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thanks! :)

  • @davidsomething4867
    @davidsomething4867 Жыл бұрын

    Just getting started with docker and loving it. One thing I am struggling with is getting IPvLAN L2 working with fixed IP addresses through compose when the ipvlan already exists on the host, jus seem to get one error after another when specifying the existing network. I've got multiple USB interfaces on a debian instance loaded on a PC and am using IPvLAN as alternative to macvlan and having to setup promiscuous mode although I have macvlan 802.1q working on another host so I have no issue with the concept and have a good understanding of networking as a whole. I've setup an ipvlan with fixed addresses for a ipam container with a separate container for the database and this works no problem but I had to setup the containers the old fashioned way.

  • @interestedperson1865
    @interestedperson18652 жыл бұрын

    thanks helpful

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thanks!

  • @psicodelico6
    @psicodelico62 жыл бұрын

    Greetings from Argentina

  • @PaulDickson7
    @PaulDickson7 Жыл бұрын

    Great video, started watching network chucks got confused and came to your video. Makes a lot more sense. Couldn't find your cheat sheet in Github though :(

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Thanks, mate! Sorry, the cheat-sheet is still a work in progress. github.com/xcad2k/cheat-sheets

  • @PaulDickson7

    @PaulDickson7

    Жыл бұрын

    @@christianlempa All good thank you for putting the time to explain everything in this video. It was clear, concise and easy to follow. I literally spent my weekend going round in circles with Docker networking only to give up and delete everything and start again.

  • @RamiKattan
    @RamiKattan4 ай бұрын

    Nice tutorial, I knew a lot about networks in docker but learnt a couple of things, including the netshoot container, very useful. Something that was not mentioned: macvlan containers can't reach bridge containers with their internal IP address (172.16.x.x), they can only reach the host ip and port, is this correct? I created a traefik container and bound it to macvlan to make it get a distinct IP address, but it was unable to reach any container until I added a second network for traefik on the bridge network.

  • @fbifido2
    @fbifido22 жыл бұрын

    1. Can you modify the default bridge (name, ip, subnet, type) ? 2. When you create a custom network, how do you tell it what type to create, ip-range, subnet, etc... 3. Type shown: Host, Bridge, Null?, macvlan, ipvlan. Are there more ? 4. Can you change the default bridge that docker use for new containers? 5. Can any of these network do dhcp ip reservation using mac-address, or support static ip-address? 6. Does any of the network support ipv6, default seems to be ipv4?

  • @zuberkariye2299
    @zuberkariye22992 жыл бұрын

    I am into 4 mins in the vid now, and I love it already, I am just learning docker and I never thought that docker could have a network(IP) since it runs on top of the OS. Gonna add this to my list of docker reference in the future.

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Thank you mate!

  • @coolglass6672
    @coolglass6672 Жыл бұрын

    Great videos dude! can i ask why Owasp says we should set ICC to false? I am guessing they just mean they want us to use custom networks?

  • @victoryosikwemhe2280
    @victoryosikwemhe2280 Жыл бұрын

    Nice. Just a quick question, if we can ping a device (in a macvlan network) from another device in a spearate network, why is the scope local?

  • @RockTheCage55
    @RockTheCage553 ай бұрын

    Hi Christian this has been excellent. When you created the macvlan why did you specify it on a different subnet '/32'?

  • @christianlempa

    @christianlempa

    3 ай бұрын

    thank you! :) subnet /32 basically means "1" address

  • @banalidadesculturapop4988
    @banalidadesculturapop49882 жыл бұрын

    Hey I I love your content and im learning a lot , can you please advise , How should the network from traefik be configured if i want it to also ping another internal server ?

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    It depends where the server is running, if it's on the same host you should be able to connect via bridge network, otherwise you might checkout host mode.

  • @dpicollege
    @dpicollege2 жыл бұрын

    I have two docker machine on same host one on overlay network of swarm and another one is on bridge network so which rules for my iptables or route i should write that my both container can communicate each other?

  • @mdawas1986
    @mdawas19864 ай бұрын

    Hello Christian, Many thanks for the video where is the cheat sheet located, I visited your github and I cant find it, seems you have changed the location since your video hope you can share link thanks

  • @jmtfreelancer4473
    @jmtfreelancer44732 жыл бұрын

    Hello, Your video is what i needed . But I woul dlik eto do the same on MAC OSX . what is the solution to have two static IP on my HOST OSX?

  • @rshnthms
    @rshnthms9 ай бұрын

    Can this fix below problems, How have docker without docker desktop so that I have 2 containers service [django and nginx] which share a network also in the host [wsl2 Ubuntu] mysql is installed. How to connect django and mysql, django and nginx? Does macvlan or ipvlan slove it?

  • @stevefxp
    @stevefxp Жыл бұрын

    I am a tech professional of over 35 years and I am learning Docker on my own. I understand networks well but in beginning to think about how I want networks deployed. I would prefer having a subnet that is container only. If I did this would I still use bridge or macvlan driver?

  • @elmarulian
    @elmarulian2 жыл бұрын

    Hello! awesome videos as always, I'm struggling to achieve two docker hosts on a physical server that has two ethernet ports, on of the hosts should expose a service in one of the ethernet ports and the other host should connect and receive data from services in the other port, this is an overlay network use case for what it looks like, or is there another way?

  • @elmarulian

    @elmarulian

    2 жыл бұрын

    Or is the macvlan the key to attach some containers to a physical network and other containers to another physical network?

  • @annahri
    @annahri2 жыл бұрын

    You can just drop grep and use `ip a ` instead

  • @JelmerBoumaJeebeevee
    @JelmerBoumaJeebeevee2 жыл бұрын

    Hi, first I love this and the other videos. Just a question. Is it possible to do this in docker-compose? And how do I do that? I tryed it but it did not work for me. Keep up the good work.

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    Sure, Docker-Compose offers the same features. Btw, when you create a docker-compose stack it will automateically create a new bridge network for your Docker compose, but you could also assign existing networks to your containers by defining it in the file.

  • @mateusjunior1937
    @mateusjunior19372 жыл бұрын

    HI Always a big fan of your tuto, i´m wondering, can you advise me a good open source on-premise cloud ?

  • @christianlempa

    @christianlempa

    2 жыл бұрын

    I've never considerd using this, but you might take a look at OpenStack.

  • @TheLaelkrol
    @TheLaelkrol Жыл бұрын

    How can I make my container use a specific interface on a host system i.e. I have one cable connection and two wlan interfaces and I've got 3 containers. I'd like each to use a dedicated interface. Which type of network will be best and how would I go about it?

  • @sonalkumarjha5200
    @sonalkumarjha5200 Жыл бұрын

    @admin can you please upload a solution video for issue "use of closed network connection" while pushing large to docker hub.

  • @nacholopez496
    @nacholopez496 Жыл бұрын

    i love little bold :3

  • @StephaneBusso
    @StephaneBusso2 жыл бұрын

    "Who needs swarm?'" everyone who wants a simple cluster running one command "docker swarm init"

  • @m3kbeatz

    @m3kbeatz

    Жыл бұрын

    Indeed.

  • @christofferahlback
    @christofferahlback3 ай бұрын

    Great video! Thanks! I’m on a mac and have had a gard time getting ipvlan to work over the wifi. As for now, I just need some containers for development tools (web dev) and would really like to get their own ip-numbers rather than running them as localhost… seems like it’s not as easy on Mac OS as in Linux at the moment. Any ideas? Cheers!

  • @christianlempa

    @christianlempa

    3 ай бұрын

    hmm I've not tried it out unfortunately, only used it on linux

  • @39zack
    @39zack Жыл бұрын

    setting up an reverse proxy is easy enough, but how do you setup "client-containers" behind the proxy that can only access the outside though the proxy? I guess if you set up the other containers on the same network as the proxy or an vlan network, they have direct access to the outside network If this was physical machines or VMs, I would just have put 2NICs on the proxy machine but no clue if this is possible on dockers or if that is how you do it

  • @syetrack3374
    @syetrack3374Ай бұрын

    I have multiple public static ip on host interface but I can't figure out how to use each of them on separate containers for docker. When I run a container its assessable by every public ip I have

  • @wstrater
    @wstrater2 жыл бұрын

    How about a video on Docker DNS? Seems to be biting me quite a bit lately. I can access other containers but fail when accessing external sites such as Let’s Encrypt.

  • @mikekane9734
    @mikekane9734 Жыл бұрын

    Interesting! What type of network should I use for my home server setup and run containers behind wireguard client for my torrenting?

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Depends on if the wireguard is in docker as well or not.

  • @brandoneadie8566
    @brandoneadie85662 жыл бұрын

    I'm trying to figure out how to use my 5 external public ip addresses, and have my router see lets say 5 containers from docker. Which I would give each one its own external public ip address. Would you have any idea how to achieve this?

  • @coltennabers634
    @coltennabers63417 күн бұрын

    So how does mac vlan solve the port issue? Can I have multiple containers in macvlan network using same port?

  • @sposada00
    @sposada0011 ай бұрын

    Im having an issue with the macvlan. I can ping the containers from my home computer but i cant get a response from the gateway. I am running virtual box for my machine and i have promiscuous mode on. I have been troubleshooting but cant seem to get it to have connectivity to outside the network

  • @jslegers1973
    @jslegers1973 Жыл бұрын

    Thank you Christian for this great explanation. I do have a question is it possible to have a container in two networks? I'm trying to create a compose file with PiHole and Unbound. The Pihole has a macvlan for my network and also a bridge to communicate to unbound. But every time I want to compose it the bridge network on the PiHole gives an error Cannot start service pihole: No available addresses on this pool. IS it even possible to create a container in two different networks?

  • @christianlempa

    @christianlempa

    Жыл бұрын

    Thank you! :) It's possible to add a container to more networks, but I'm not sure how that works with a macvlan.

  • @SebastianMBraun
    @SebastianMBraun Жыл бұрын

    What ist your terminal you use in 17:19? I like it!