错误提示:
[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/
解决:
创建文件:
vi /etc/docker/daemon.json
加入以下内容:
{
“exec-opts”:[“native.cgroupdriver=systemd”],
“registry-mirrors”:[“https://docker.mirrors.ustc.edu.cn”]
}

执行命令:
systemctl daemon-reload
systemctl restart docker

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐