Proxmox PVE7 Centos7 Container启动异常,报错如下:
WARN: old systemd (< v232) detected, container won’t run in a pure cgroupv2 environment! Please see documentation -> container -> cgroup version.
根本原因是cgroup的兼容性问题。官方描述如下:
官方也给出了处理办法:
Changing CGroup Version
If file system quotas are not required and all containers support cgroupv2, it is recommended to stick to the new default.
systemd.unified_cgroup_hierarchy=0
处理过程如下:
1.修改启动参数/etc/default/grub
2.使配置生效平重启
update-grub
reboot