Cannot start container web: iptables failed: iptables -t nat -A DOCKER -p tcp -d 0/0 --dport 32797
生活随笔
收集整理的這篇文章主要介紹了
Cannot start container web: iptables failed: iptables -t nat -A DOCKER -p tcp -d 0/0 --dport 32797
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
docker 啟動(dòng) web 示例報(bào)錯(cuò)如下:
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.解決辦法:重建docker0網(wǎng)絡(luò)恢復(fù)
pkill docker iptables -t nat -F ifconfig docker0 down brctl delbr docker0 docker -d service docker restart總結(jié)
以上是生活随笔為你收集整理的Cannot start container web: iptables failed: iptables -t nat -A DOCKER -p tcp -d 0/0 --dport 32797的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: SCSI SENSE异常状态大全
- 下一篇: 建立自己的手写笔画图案