Skip to content

Commit 8add6a2

Browse files
doc: update
1 parent e5af906 commit 8add6a2

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

docs/faq/installation.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,27 @@
1010
!!! Abstract ""
1111
升级版本至 v1.1.2 及以上。如果不升级版本,清理缓存后可正常运行。
1212

13+
## 3 镜像拉取超时
14+
15+
!!! Abstract ""
16+
如果是 1Panel 方式安装 SQLBot 遇到镜像拉取超时的问题,可以[参考文档](https://bbs.fit2cloud.com/t/topic/5886)
17+
18+
如果以 docker 命令,或者 docker-compose 命令启动时遇到镜像拉取超时,可以给 docker 设置镜像加速,具体步骤:
19+
20+
- 在 /etc/docker/daemon.json 文件中添加镜像地址,若没有此文件,则新建即可。在该文件中添加 registry-mirrors 部分内容,示例如下:
21+
```json
22+
{
23+
"log-driver":"json-file",
24+
"log-opts": {"max-size":"50m", "max-file":"3"},
25+
"registry-mirrors": [
26+
"https://docker.chenby.cn",
27+
"https://docker.1panel.live",
28+
"https://dockerproxy.com",
29+
"https://docker.mirrors.ustc.edu.cn",
30+
"https://docker.nju.edu.cn"
31+
]
32+
}
33+
```
34+
- 修改完成后,重启 docker 服务即可
35+
1336

0 commit comments

Comments
 (0)