docker: Error response from daemon: driver failed programming external connectivity on endpoint

问题:启动容器时报错
docker: Error response from daemon: driver failed programming external connectivity on endpoint nginx01 (2045d3145ef7eabb2df755aec8e32409eaa19b696fca4598ead87c8ac047471c): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 32777 -j DNAT --to-destination 172.17.0.2:80 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1)).

解决:
docker服务启动时定义的自定义链DOCKER被清除
重启即可systemctl restart docker

你可能感兴趣的:(Docker,Problem,Summary)