Skip to content

Commit d37f0f4

Browse files
authored
Update 个人向Linux新服务器初始化清单.md
1 parent 03bcf81 commit d37f0f4

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

content/posts/个人向Linux新服务器初始化清单.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -183,22 +183,24 @@ docker mirror 配置可以加速 image pull, 国内公开可用的加速站点
183183

184184
此外服务器上的 docker 都是长时间持续运行的,不少容器日志打的很随意,log 文件容易占据过多空间,也最好限制一下。
185185

186-
187186
文件位置`/etc/docker/daemon.json`, 下面的配置供参考
188187

189188
```json
190189
{
191190
"registry-mirrors": [
192-
"https://mirror.baidubce.com",
193-
"https://docker.nju.edu.cn",
194-
"https://docker.mirrors.sjtug.sjtu.edu.cn",
195-
"https://dockerproxy.com",
196-
"https://docker.m.daocloud.io",
197-
"https://mirror.iscas.ac.cn"
191+
"https://docker.nastool.de",
192+
"https://docker.actima.top",
193+
"https://docker.unsee.tech",
194+
"https://docker.gh-proxy.com",
195+
"https://docker.zhai.cm",
196+
"https://docker.1panel.live",
197+
"https://docker.1ms.run",
198+
"https://docker.imgdb.de",
199+
"https://dockerproxy.net"
198200
],
199201
"log-opts": {
200202
"max-file": "5",
201-
"max-size": "20m"
203+
"max-size": "10m"
202204
}
203205
}
204206
```

0 commit comments

Comments
 (0)