After shutting down or starting linux firewall, docker start container error problem solving

After shutting down or starting linux firewall, docker start container error problem solving

Solution: Rebuilding docker0 network recovery

1, in accordance with the process name to kill docker process

pkill docker

2, clear firewall rules - Empty all chains of nat table

iptables -t nat -F

3 For more information, see the definition rules

iptables -L -n -v  

4, the interface close docker0

ifconfig docker0 down

5, delete docker0 Interface

brctl delbr docker0

6, restart docker

systemctl restart docker

7, to see if enabled

docker ps -a

Guess you like

Origin www.cnblogs.com/jakaBlog/p/11576607.html