docker: Error response from daemon: driver failed programming external connectivity on endpoint tomcat (fe4dae10632933a062bc310a574fa6673576bd9350aa3cb9da3eef7ff148a3ee)

docker: Error response from daemon: driver failed programming external connectivity on endpoint tomcat (fe4dae10632933a062bc310a574fa6673576bd9350aa3cb9da3eef7ff148a3ee): (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8082 -j DNAT --to-destination 172.17.0.2:8080 ! -i docker0: iptables: No chain/target/match by that name.
(exit status 1)).

从新启动一下docker就好了

systemctl restart docker

然后在运行镜像

docker run .......

posted @ 2020-07-09 11:45  拯代码  阅读(136)  评论(0编辑  收藏  举报