Docker json文件配置

点击查看代码
[root@master0 ~]# cat /etc/docker/daemon.json 
{
  "exec-opts": ["native.cgroupdriver=systemd"],
  "log-driver": "json-file",
  "log-opts": {
    "max-size": "100m"
  },
  "registry-mirrors": [
    "https://df3eqobp.mirror.aliyuncs.com"
  ],
  "storage-driver": "overlay2",
  "storage-opts": [
    "overlay2.override_kernel_check=true"
  ]
}

posted @ 2023-03-12 09:22  YIDADA-SRE  阅读(182)  评论(0编辑  收藏  举报