File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -183,22 +183,24 @@ docker mirror 配置可以加速 image pull, 国内公开可用的加速站点
183
183
184
184
此外服务器上的 docker 都是长时间持续运行的,不少容器日志打的很随意,log 文件容易占据过多空间,也最好限制一下。
185
185
186
-
187
186
文件位置` /etc/docker/daemon.json ` , 下面的配置供参考
188
187
189
188
``` json
190
189
{
191
190
"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"
198
200
],
199
201
"log-opts" : {
200
202
"max-file" : " 5" ,
201
- "max-size" : " 20m "
203
+ "max-size" : " 10m "
202
204
}
203
205
}
204
206
```
You can’t perform that action at this time.
0 commit comments