iptables remove docker rules
Note: Your iptables file location might be different. Run cat /etc/iptables.up.rules or cat /etc/network/iptables.rules
1. edit your /etc/iptables.up.rules file, back up file then remove everything with docker in it
2. flush iptables: iptables -P INPUT ACCEPT && iptables -P OUTPUT ACCEPT && iptables -P FORWARD ACCEPT && iptables -F
3. reload iptables rules: iptables-restore < /etc/iptables.up.rules
4. verify/check your rules: iptables -L -n (should no longer have any docker chains or rules)