瞎折騰port forwarding,搞壞了iptables,誤刪了docker相關(guān)的規(guī)則。在啟動容器的時(shí)候報(bào)錯(cuò):
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服務(wù)解決:
systemctl restart docker