Docker - 解决 Error response from daemon: driver failed programming external connectivity on endpoint tomcat9999

问题背景

执行 docker start tomcat 报以下的错误

Error response from daemon: driver failed programming external connectivity on endpoint tomcat9999 (f24431f0da474edbe79ba136b19079df3dcae89a4f688abe74cd0b993856a670):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080 -j DNAT -

 

解决办法

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

systemctl restart docker

 

posted @ 2020-11-04 19:59  小菠萝测试笔记  阅读(730)  评论(0编辑  收藏  举报