赞
踩
在初始化Kubernetes节点时,出现这个问题解决
$ sudo mkdir /etc/docker
$ vi /etc/docker/daemon.json
# 输入以下信息就行了
{
"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
"log-opts": {
"max-size": "100m"
},
"storage-driver": "overlay2",
"storage-opts": [
"overlay2.override_kernel_check=true"
],
"registry-mirrors": ["https://tdhp06eh.mirror.aliyuncs.com"]
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。