Docker Community Forums

Share and learn in the Docker community.

Docker changing default forward policy in iptables


(Alexskra) #1

Hi! I’ve been trying to combine Docker and LXD on the same host. The problem is that docker messes with iptables and sets forwarding to drop by default, causing problems for LXD containers.

Is there any way to avoid this problem, without compromising on the functionality of dockers iptables rules?

I just think it really sucks that installing docker messes up iptables. :confused: It would be nice if the rules added by docker only affected traffic related to docker.

Does anyone have any good suggestions on how to solve this?