Hacker News new | ask | show | jobs
by shudza 1211 days ago
You can also add `iptables: false` to docker's daemon json and docker will stop messing with your iptables conf.
2 comments

The docs strongly advise against this: https://docs.docker.com/network/iptables/
This is on my todo list after wrestling docker almost in to compliance with nftables. Even so, I still have some issue with ports forwarded to docker services not NATting correctly and instead show up with a source IP of the docker bridge. Switching to nftables exclusively (docker is using iptables-nft) and preventing docker from doing this should resolve my issues.

I can't think of another application on any of my systems that muck with firewall rules behind the scenes like this.