docker 使用中遇到的问题记录: cgroups: cannot find cgroup mount destination: unknown.

2021-09-06 15:46:20 浏览数 (2)

在启动container时报错

代码语言:javascript复制
Error response from daemon: OCI runtime create failed: container with id exists: 67e15e63de517c777b548f774b09d82428eb477cccb9da135f00944bb22b9d9a: unknown

看其他帖子按要求删除对应container文件后,接下来又报以下错误

代码语言:javascript复制
cgroups: cannot find cgroup mount destination: unknown.

最后解决:

代码语言:javascript复制
sudo mkdir /sys/fs/cgroup/systemd

sudo mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd/

0 人点赞