Docker配置檔案配置映象加速器

張哲溪發表於2020-10-11

cat /etc/docker/daemon.json 
{
  "insecure-registries": 
  ["xxx.xxx.xx.xx:xxxx"],
  "registry-mirrors":[ "https://nyakyfun.mirror.aliyuncs.com"],
  "storage-driver": "overlay2",
  "storage-opts": [
    "overlay2.override_kernel_check=true"
  ],
  "log-opts": {
    "max-size": "50m",
    "max-file":"5"
  },
  "log-level": "debug",
  "data-root": "/xxx/xxx"
}

相關文章