1.
docker run -d --name showdoc -p 4999:80 -v /showdoc_data/html:/var/www/html/ star7th/showdoc WARNING: IPv4 forwarding is disabled. Networking will not work. 58fc7aa9da0886e66d73e40bf8927aa6b4857e60189d9a24270a89820a4e2427 docker: Error response from daemon: driver failed programming external connectivity on endpoint showdoc (1f2e6e122a573af17586c5f112951b8d82f2f037e09aebce298170f79e18e231): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 4999 -j DNAT --to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name. (exit status 1)).
解决:
systemctl restart docker
docker start 58fc
原文:https://www.cnblogs.com/xingxia/p/docker_errors.html