修改防火墙,允许从接口 docker0 访问网络
# iptables -I INPUT 3 -i docker0 -j ACCEPT
3是防火墙编号。因为防火墙规则是有序的,所以需要选择适当编号确保此规则能够生效。