k8s注册节点提示Docker SystemdCheck]: detected cgroupfs" as the Docker cgroup dr iver. The r ecommended dr fiver is" systemd"

本篇就不长篇大论了,直接附上解决办法

 

 提示如上,此提示非必要要求,只是建议,但是看着不爽,那就解决它

 

 这是未解决之前的docker信息,现在输入下面的指令

sudo echo -e "{\n   \"registry-mirrors\": [\"http://hub-mirror.c.163.com\"],\"exec-opts\": [\"native.cgroupdriver=systemd\"]\n}" > /etc/docker/daemon.json

 

 

然后重新加载json配置,重启docker服务

 

docker info | grep Cgrou
systemctl daemon-reload
systemctl restart docker
docker info | grep Cgrou

 

k8s注册节点提示Docker SystemdCheck]: detected cgroupfs

问题解决,docker加速配置也完成了

你可能感兴趣的:(k8s注册节点提示Docker SystemdCheck]: detected cgroupfs" as the Docker cgroup dr iver. The r ecommended dr fiver is" systemd")