I have a docker version 1.9.1. I start my host with “docker daemon --userland-proxy=false”. However, even with exposing ports I cannot connect to container from outside. If I don’t disable proxy, I can connect normally.
If I check iptable rules “iptables -t nat -L” with proxy disabled and enabled, nothing changes. I guess there is a problem? My log says “Running modprobe nf_nat failed with message:
modprobe: chdir(3.10.35): No such file or directory, error: exit status 1”. Is this a cause that NAT doesn’t work properly?
I am on kernel 3.10.35
PS: If I check with lsmod, I can see “nf_nat 11462 3 ipt_MASQUERADE,iptable_nat,nf_nat_ipv4”