From d37f0f4a9e3e90ab3bfc50324c1713e95cfe324c Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 15 Dec 2024 22:08:33 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E4=B8=AA=E4=BA=BA=E5=90=91Linux?= =?UTF-8?q?=E6=96=B0=E6=9C=8D=E5=8A=A1=E5=99=A8=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E6=B8=85=E5=8D=95.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...213\345\214\226\346\270\205\345\215\225.md" | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git "a/content/posts/\344\270\252\344\272\272\345\220\221Linux\346\226\260\346\234\215\345\212\241\345\231\250\345\210\235\345\247\213\345\214\226\346\270\205\345\215\225.md" "b/content/posts/\344\270\252\344\272\272\345\220\221Linux\346\226\260\346\234\215\345\212\241\345\231\250\345\210\235\345\247\213\345\214\226\346\270\205\345\215\225.md" index c6d77c6..d1e3005 100644 --- "a/content/posts/\344\270\252\344\272\272\345\220\221Linux\346\226\260\346\234\215\345\212\241\345\231\250\345\210\235\345\247\213\345\214\226\346\270\205\345\215\225.md" +++ "b/content/posts/\344\270\252\344\272\272\345\220\221Linux\346\226\260\346\234\215\345\212\241\345\231\250\345\210\235\345\247\213\345\214\226\346\270\205\345\215\225.md" @@ -183,22 +183,24 @@ docker mirror 配置可以加速 image pull, 国内公开可用的加速站点 此外服务器上的 docker 都是长时间持续运行的,不少容器日志打的很随意,log 文件容易占据过多空间,也最好限制一下。 - 文件位置`/etc/docker/daemon.json`, 下面的配置供参考 ```json { "registry-mirrors": [ - "https://mirror.baidubce.com", - "https://docker.nju.edu.cn", - "https://docker.mirrors.sjtug.sjtu.edu.cn", - "https://dockerproxy.com", - "https://docker.m.daocloud.io", - "https://mirror.iscas.ac.cn" + "https://docker.nastool.de", + "https://docker.actima.top", + "https://docker.unsee.tech", + "https://docker.gh-proxy.com", + "https://docker.zhai.cm", + "https://docker.1panel.live", + "https://docker.1ms.run", + "https://docker.imgdb.de", + "https://dockerproxy.net" ], "log-opts": { "max-file": "5", - "max-size": "20m" + "max-size": "10m" } } ```