报错信息
代码语言:javascript复制[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd".
Please follow the guide at https://kubernetes.io/docs/setup/cri/
解决方案
代码语言:javascript复制vim /usr/lib/systemd/system/docker.service
修改成如下内容
代码语言:javascript复制ExecStart=/usr/bin/dockerd --exec-opt native.cgroupdriver=systemd
重载配置文件并重启服务
代码语言:javascript复制systemctl daemon-reload && systemctl restart docker