首页 > 代码库 > lxc-start: cgroup is not mounted

lxc-start: cgroup is not mounted

lxc-start: cgroup is not mounted

在执行lxc-start时出现上述问题是因为cgroup在宿主机上没有挂载。

fix:

vim /etc/fstab

none        /sys/fs/cgroup        cgroup        defaults    0    0

重启机器即可