Systemd cgroup 标志已通过,但 systemd 对管理 cgroup 的支持不可用 - Docker 错误

Shr*_*kar 5 linux containers cgroups systemd docker

docker不久前安装在我的 aws linux 机器上,并将其用于kong测试目的,机器详细信息:Linux ip-172-31-10-102 4.9.70-22.55.amzn1.x86_64#1 SMPWed Dec 2023:36:28 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

今天,当我尝试在我的 docker 中运行普通的 hello-world 容器时,我遇到了以下错误。

[root@ip-172-31-10-102 ~]# docker run hello-world
systemd cgroup flag passed, but systemd support for managing cgroups is not 
available
docker: Error response from daemon: oci runtime error: systemd cgroup flag 
passed, but systemd support for managing cgroups is not available.
ERRO[0000] error waiting for container: context canceled
Run Code Online (Sandbox Code Playgroud)

我不确定这里的配置有什么问题,我可以看到 docker 信息和容器列出所有内容,但无法运行容器。我尝试重新安装 docker,但仍然看到相同的错误。