Error response from daemon: driver failed programming external connectivity on endpoint mysqlserver

Error response from daemon: driver failed programming external connectivity on endpoint mysqlserver (0faefa645b10cbedd89324c5387933500110441b6891cdeb4c8555b73813884b): (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. (exit status 1)) Error: failed to start containers: 9d5c9776cab1

翻译所得:来自守护程序的错误响应:驱动程序无法编程外部连接
在这里插入图片描述

1、踩过のdocker坑:
遇到这个二话不说先重启docker容器

#systemctl restart docker

具体原因详解如下:
docker服务启动时定义的自定义链DOCKER被某种原因清除,但是我们去重启docker容器的时候他会自动去生成!万能重启生效…

你可能感兴趣的:(centos,linux,docker,linux,docker)