iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 5000 -j DNAT --to-destination

启动docker容器时报错

iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 5000 -j DNAT --to-destination 172.18.0.4:5000 ! -i br-ff45d935188b: iptables: No chain/target/match by that name. (exit status 1)

 

解决方案:重启docker
systemctl restart docker

posted @ 2019-07-04 13:13  道霖  阅读(...)  评论(...编辑  收藏