cpuset.cpus.effective: no such file or directory (修改 docker cgroup 版本的方法)

发布时间 2023-07-14 17:53:31作者: 韦邦杠

要切换使用 v1 版 cgroup,需要做如下配置:

 

vim /etc/default/gru

 

 

 

GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=0"

 

update-grub

reboot

 

 完美解决