Comment on PSA: Docker nukes your firewall rules, and replaces them with its own.
N0x0n@lemmy.ml 8 months agoOption to disable this behavior would be 100x better then current, but what do I know lol
Prevent docker from manipulating iptables
Don’t know what it’s actually doing, I’m just learning how to work with nftables, but I saved that link in case oneday I want to manage the iptables rules myself :)
Auli@lemmy.ca 8 months ago
Good luck. Your going to have to change the rules whenever the up address of the container changes.
N0x0n@lemmy.ml 8 months ago
If you are talking about the IP address then just add a static address, no? I do it anyway in my docker compose:
I’m not an expert so maybe I’m wrong, if so do not hesitate to correct me !