Bridge Problem With Docker

Ғылым және технология

My bridge adaptor was working fine until I installed Docker, at which point it stopped forwarding traffic through itself.

Пікірлер: 20

  • @TallPaulTech
    @TallPaulTech2 ай бұрын

    I don't proof-watch these things until I upload them, hence the unedited hocking up. You get that.

  • @fghdfghdfghdfg

    @fghdfghdfghdfg

    2 ай бұрын

    "My bridge adaptor was working find"... in the description ... "My bridge adapter was working fine" ? 😂

  • @BradleyHerbst
    @BradleyHerbst2 ай бұрын

    I really appreciate videos like these where you show your troubleshooting processes. Thanks man!!

  • @dingokidneys
    @dingokidneys2 ай бұрын

    I always learn something about networking when I watch these videos, even if it's just "Oh that's a thing I have to look into more deeply."

  • @FuzzyKaos
    @FuzzyKaos2 ай бұрын

    I always appreciate your videos, thanks for posting!

  • @backslash777
    @backslash7772 ай бұрын

    It sounds like there is bridge firewalling going on. Basically out of the box it should go along the diagram you showed, but you can push bridged frames through netfilter by setting /proc/sys/net/bridge/bridge-nf-call-iptables to 1. Maybe the Docker does that behind the scenes. And maybe it is something other, but 10 years back we did transparent firewalling using this technique by filtering bridged traffic using iptables.

  • @TallPaulTech

    @TallPaulTech

    2 ай бұрын

    That's the setting I wanted to mention because I looked at it at the time, but couldn't remember it when making the video. I think I toggled it with no effect though.

  • @5mxg
    @5mxg2 ай бұрын

    That's why I really like LXC for things that can be done with it.

  • @apalrdsadventures
    @apalrdsadventures2 ай бұрын

    every system I have that runs Docker becomes a networking nightmare, it's very inconsiderate of ... basically everyone

  • @mihumono
    @mihumono2 ай бұрын

    Yeah, docker usually is a mess with firewall rules.

  • @hgbugalou
    @hgbugalou2 ай бұрын

    I'm playing with docker in my home lab too and while it's cool I find it's networking pretty clunky out of the box.

  • @TallPaulTech

    @TallPaulTech

    2 ай бұрын

    Yeah, I'm just starting to use it more, finally. The network side of it does seem a bit hacked together, as you say.

  • @SuperSerNiko97

    @SuperSerNiko97

    2 ай бұрын

    @@TallPaulTech I was using Docker for some services in the past before switching to Proxmox and one annoying thing that Docker did is that if the interface went down for whatever reason, when it came back up it just got ignored and I had to manually restart it.

  • @90hijacked
    @90hijacked2 ай бұрын

    Honestly the more i use podman the more excited i am for it, i am so sorry that a professional networking guy has to suffer through the nonsense they do to iptables... 🤣

  • @RK-ly5qj
    @RK-ly5qj2 ай бұрын

    I can say that networking in docker sucks so much... Definitely designers didn't consult with network engineers xD

  • @martink.6872
    @martink.68722 ай бұрын

    Not gonna pretend I understand the depths of docker or networking on that level, but I didn't get why at the diagram at 4:06 it didn't get on to 'Forward Bridge' in the bridge layer when the request wasn't meant for the local process? Why did it hit the IP rules then? You didn't go into further detail there or I just didn't get it.

  • @dasgoll
    @dasgoll2 ай бұрын

    Which Linux distro is this?

  • @rogo7330
    @rogo73302 ай бұрын

    Did not know that you can just flush the whole ruleset. I guess I was just not paying attention, since basically everything that can be executed from a command line can be put into the config. nftables documentation sucks ass, not gonna lie.

  • @fghdfghdfghdfg
    @fghdfghdfghdfg2 ай бұрын

    Docker is a cnut, I am a dumb cnut with docker, but following basic instructions I couldn't get docker containers access to the internet.... was a bigger problem with systemd-resolve (like wtf!) and ended up using --net=host to run containers. why does systemd need to fuck with DNS?!?! Argh!!

Келесі