X

Docker 遇到 driver failed 與 iptables No chain 等問題解法

Docker run 遇到下述錯誤訊息:

  • docker: Error response from daemon: driver failed programming external connectivity on endpoint xxx: (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 127.0.0.1 --dport 1234 -j DNAT --to-destination 172.17.0.2:1234 ! -i docker0: iptables: No chain/target/match by that name.

解法

  • $ sudo iptables -t filter -F
  • $ sudo iptables -t filter -X
  • $ sudo systemctl restart docker

再來 Docker 就可以正常執行囉~~

Tsung: 對新奇的事物都很有興趣, 喜歡簡單的東西, 過簡單的生活.
Related Post