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 就可以正常執行囉~~