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
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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.解決辦法:重建docker0網絡恢復
pkill docker iptables -t nat -F ifconfig docker0 down brctl delbr docker0 docker -d service docker restart總結
以上是生活随笔為你收集整理的Cannot start container web: iptables failed: iptables -t nat -A DOCKER -p tcp -d 0/0 --dport 32797的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SCSI SENSE异常状态大全
- 下一篇: 建立自己的手写笔画图案