Docker networking

Comments

2 comments

  • Avatar
    mastadon extinction

    sounds like you might need to give it a route in iptables. try this but substitute whatever container name you are working with for the inspect "adguardhome"  part of the command.

    sudo ip route add 172.16.0.0/24 dev br-$(sudo docker network inspect adguardhome_default |jq -r '.[0].Id[0:12]') table lan_routable
    sudo ip route add 172.16.0.0/24 dev br-$(sudo docker network inspect adguardhome_default |jq -r '.[0].Id[0:12]') table wan_routable

    1
    Comment actions Permalink
  • Avatar
    DangerZ0ne

    I ended up just changing the dockercli command that sets up the container to do host networking instead. docker run -d --net host... It's responding normally.

    1
    Comment actions Permalink

Please sign in to leave a comment.