docker配置daemon.json
{ "log-driver": "json-file", "log-opts": { "max-size": "100m", "max-file": "3" }, "max-concurrent-downloads
·
{
"log-driver": "json-file",
"log-opts": {
"max-size": "100m",
"max-file": "3"
},
"max-concurrent-downloads": 10,
"max-concurrent-uploads": 10,
"registry-mirrors": ["https://0lfl6iaz.mirror.aliyuncs.com"],
"insecure-registries": ["127.0.0.1"],
"storage-driver": "overlay2",
"storage-opts": [
"overlay2.override_kernel_check=true"
]
}
rancher上有docker的相关配置:
参考文档:https://www.cnrancher.com/docs/rancher/v2.x/cn/installation/best-practices/
注意:修改默认的镜像存储驱动(改成overlay2)后,原来的所有镜像都会被清空
更多推荐
已为社区贡献8条内容
所有评论(0)