
Now we need to configure a new subnet for docker0 to use. Lets view this chain, stop docker and remove this subnet from your docker0 interface: ~]# iptables -nL POSTROUTING -t nat If this subnet is being used elsewhere on your network, then you should change this default subnet to avoid losing connectivity to these other networks: It will also create a MASQUERADE rule on your POSTROUTING iptables chain for container NAT.

When you install docker, by default it will create a bridged interface docker0 with a 172.17.0.0/16 subnet for container networking.
