Error response from daemon: Cannot start container web: iptables failed: iptables -t nat -A DOCKER

docker 启动 web 示例报错如下:

Error response from daemon: Cannot start container web: iptables failed: iptables -t nat -A DOCKER -p tcp -d 0/0 --dport 32797 -j DNAT --to-destination 172.17.0.30:5000 ! -i docker0: iptables: No chain/target/match by that name.
1
解决办法:重建docker0网络恢复

pkill docker
iptables -t nat -F
ifconfig docker0 down
brctl delbr docker0
docker -d
service docker restart

posted @ 2019-07-11 12:09  叨叨的蜗牛  阅读(420)  评论(0)    收藏  举报