启动docker容器 防火墙问题报错 ! -i docker0' failed: iptables: No chain/target/match by that name.

COMMAND_FAILED: '/sbin/iptables -t nat -A DOCKER -p tcp -d 0/0 --dport 8111 -j DNAT --to-destination 172.17.0.6:8111 ! -i docker0' failed: iptables: No chain/target/match by that name.

pkill docker

iptables -t nat -F
ifconfig docker0 down
brctl delbr docker0

重启docker后解决

上一篇:再次聊一聊promise settimeout asycn awiat执行顺序---js执行机制 EVENT LOOP


下一篇:Linux进程核心调度器之主调度器schedule--Linux进程的管理与调度(十九)