解决docker 报错 “WARNING: AllowZoneDrifting is enabled”
1 | systemctl status firewalld.service 时弹出如下报错. |
提示警告:
1 | WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. It will be removed in a future release. |
解决办法:
1 | vi /etc/firewalld/firewalld.conf |
1 | //搜索:AllowZoneDrifiting , 把对应的值 yes 改为 no |
1 | systemctl restart firewalld |