启动docker 时出现
/usr/bin/docker-current: Error response from daemon: driver failed
programming external connectivity on endpoint myweb
(94c2f188e3406fa9b4bcb5a7b61eaa12e0b5764382f2e8394d342b22c7aa252f):
(iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0
–dport 80 -j DNAT --to-destination 172.17.0.2:5000 ! -i docker0: iptables: No chain/target/match by that name.
原因:修改了iptables规则后,重启了iptables,但没有重启docker
解决方案:重启docker :systemctl restart docker