docker-compose up -d启动实例化容器时报错:
ERROR: Failed to program FILTER chain: iptables failed: iptables --wait -I FORWARD -o br-5d49c8a6ac75 -j DOCKER: iptables v1.8.4 (legacy): Couldn't load target `DOCKER':No such file or directory
解决方式:
重建docker0网络恢复,按顺序执行以下指令即可
pkill docker
iptables -t nat -F
ifconfig docker0 down
brctl delbr docker0
docker -d
systmctl restart docker