Skip to content

Commit 4bf075f

Browse files
authored
Update README.md
1 parent 208a239 commit 4bf075f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ docker pull yourdomain.com/ghcr.io/sky22333/hubproxy
6767
# 符合Docker Registry API v2标准的仓库都支持
6868
```
6969

70-
还可以把服务作为 Docker 的镜像加速器使用。
71-
在主机上编辑(或新建)`/etc/docker/daemon.json`
70+
当然也支持配置为全局镜像加速,在主机上新建(或编辑)`/etc/docker/daemon.json`
71+
7272
`"registry-mirrors"` 中加入域名:
7373

7474
```json
@@ -80,7 +80,7 @@ docker pull yourdomain.com/ghcr.io/sky22333/hubproxy
8080
```
8181

8282
若已设置其他加速地址,直接并列添加后保存,
83-
再执行 `sudo systemctl restart docker` 让配置生效
83+
再执行 `sudo systemctl restart docker` 重启docker服务让配置生效
8484

8585
### GitHub 文件加速
8686

0 commit comments

Comments
 (0)