黑帽联盟
标题:
Warning:detected "cgroupfs" as the Docker cgroup driver
[打印本页]
作者:
定位
时间:
2019-12-21 16:03
标题:
Warning:detected "cgroupfs" as the Docker cgroup driver
执行kubeadm init集群初始化时遇到:
[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd".
[警告IsDockerSystemdCheck]:检测到“cgroupfs”作为Docker cgroup驱动程序。 推荐的驱动程序是“systemd”。
解决方法:修改docker
在/etc/docker下创建daemon.json并编辑:
mkdir /etc/docker/daemon.json
加入以下内容:
{
"exec-opts":["native.cgroupdriver=systemd"]
}
systemctl restart docker
systemctl status docker
2019-12-21 16:09 上传
下载附件
(52.28 KB)
欢迎光临 黑帽联盟 (https://bbs.cnblackhat.com/)
Powered by Discuz! X2.5