重启dokcer容器报错,导致容器无法正常启动
Error response from daemon: driver failed programming external connectivity on endpoint web-server (5a73261db8cfb0aee4e5c75eade89a5f32a6cf7167633321c4752a4e34a81dc7): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080 -j DNAT --to-destination 172.17.0.3:80 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1))
Error: failed to start containers: web-server
解决办法:
重启dokcer服务
systemctl restart docker