[Solved] Error response from daemon: driver failed programming external connectivity on endpoint mymysql

docker: Error response from daemon: driver failed programming external connectivity on endpoint mymysql (59ba4bda46b12a5ac9d20e021d9393e518542ac724c1dc8e5b0a524072513087): (iptables failed: iptables –wait -t nat -A DOCKER -p tcp -d 0/0 –dport 3306 -j DNAT –to-destination 172.17.0.2:3306 ! -i docker0: iptables: No chain/target/match by that name.

Solution:

systemctl stop firewalld
systemctl restart docker

Read More: