====== Docker Configuration via /etc/docker/daemon.json ====== ===== Prevent Creation of dynamic iptables rules, disable userland proxy ===== { "iptables": false, "ip-masq": false, "userland-proxy": false } ===== Create iptables rules manually ===== iptables -A FORWARD -s $dockernetwork -m tcp -p tcp -m conntrack --ctstate NEW -j ACCEPT ===== Configure DNS server===== { "dns": ["192.168.100.254"] } ===== Activate IPv6 ===== { "ipv6": true, "fixed-cidr-v6": "fd00:fd00::/64" } Just "ipv6" is not enough - docker daemon will not start with an error message about non-overlapping IPv6 network. {{tag>kb linux docker}}