重建docker0網路

oOo右右發表於2018-01-27
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後解決
================================================================================
參考文章

相關文章