重建docker0网络

docker: Error response from daemon: driver failed programming external connectivity on endpoint webserver (853cafeb322739a3c1d656d9fd42a3a568fc3f6fbf3bd58a9685c7ba26693605): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 80 -j DNAT --to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name.
解决方案:
pkill docker
iptables -t nat -F
ifconfig docker0 down
brctl delbr docker0
重启docker后解决
================================================================================
参考文章
http://www.linuxidc.com/Linux/2015-02/113141.html

你可能感兴趣的:(docker)