關閉防火牆後,啓動容器報錯: docker0: iptables: No chain/target/match by that name

在關閉防火牆後, 啓動容器報以下錯誤:

Error response from daemon: Cannot restart container 41d2e371d5c5: driver failed programming external connectivity on endpoint sentinel-26379 (1be5e5aa55e555d192adfcd90b0ad395683afce74087dc9d21933331d41051ea):  (iptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 26379 -j DNAT --to-destination 172.17.0.2:26379 ! -i docker0: iptables: No chain/target/match by that name.

解決方案:
重啓docker: systemctl restart docker

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章