docker故障:driver failed programming external connectivity on endpoint

故障现象

Error response from daemon: driver failed programming external connectivity on endpoint jenkins (ffdc7c9cda72c575d6b045574d1432b256603a3d986a05da319ab7f3af233755):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 50000 -j DNAT --to-destination 172.17.0.6:50000 ! -i docker0: iptables: No chain/target/match by that name.
 (exit status 1))
Error: failed to start containers: 998fb2514db4

解决方案

原因:docker服务启动时定义的自定义链DOCKER被清除,重启即可

systemctl restart docker

参考资料

Docker - 解决 Error response from daemon: driver failed programming external connectivity on endpoint tomcat9999 - 小菠萝测试笔记 - 博客园 (cnblogs.com)

posted @ 2023-11-29 10:22  热气球!  阅读(274)  评论(0编辑  收藏  举报