瞎折騰port forwarding疫向,搞壞了iptables口渔,誤刪了docker相關的規(guī)則。在啟動容器的時候報錯:
ERROR: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-5157c68198e7 -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))
重啟docker服務解決:
systemctl restart docker