3 ms·
Technically, Docker is adding iptables rules that are ignored by ufw rather than docker ignoring ufw. To fix, just turn off iptables for the docker daemon and
by k8sToGo 5y ago
Technically, Docker is adding iptables rules that are ignored by ufw rather than docker ignoring ufw.
To fix, just turn off iptables for the docker daemon and add the rules manually to UFW
- dawnerd 5y agoAnd if you don’t want to do that because there are some downsides, make sure you setup container networking correctly and don’t just expose ports just to expose ports. Learned that one the hard way when someone exposed redis.