Docker 创建容器报错 No chain/target/match by that name.
重启docker即可。
root@192.168.0.113:~# docker run -d -p 8888:8080 tomcat
0e2726f62e01b45a812e04dd4d28f41088c17c343d7f9c575c0b479cfac5125a
/usr/bin/docker-current: Error response from daemon: driver failed programming external connectivity on endpoint sleepy_hamilton (91a1683f12a407980ae7b9537511182d476384b9ccfe8ba090eb8a30dc547991): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8888 -j DNAT --to-destination 172.17.0.2:8080 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1)).
root@192.168.0.113:~#
root@192.168.0.113:~#
root@192.168.0.113:~# service docker restart
Redirecting to /bin/systemctl restart docker.service
root@192.168.0.113:~#
root@192.168.0.113:~#
root@192.168.0.113:~# docker run -d -p 8888:8080 tomcat
5e8fdc223856cd77b3c1280ab6d3d8733369a166af499c1189f71a1211a28455