启动容器的时候报错:
docker: Error response from daemon: driver failed programming external connectivity on endpoint peaceful_sammet (0ffcb446e5de6905d872c4e20080243fce8f9928d68b857f6b4a23eadc38f2f3): iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080 -j DNAT --to-destination 172.17.0.2:8080 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1).
解决办法 =>
pkill docker #终止进程
iptables -t nat -F #清空nat表的所有链
ifconfig docker0 down #停止docker默认网桥
brctl delbr docker0 #删除网桥
systmctl restart docker #重启docker