add
This commit is contained in:
@@ -35,6 +35,8 @@ docker run -d \
|
|||||||
curl -fsSL https://raw.githubusercontent.com/sky22333/hubproxy/main/install-service.sh | sudo bash
|
curl -fsSL https://raw.githubusercontent.com/sky22333/hubproxy/main/install-service.sh | sudo bash
|
||||||
```
|
```
|
||||||
|
|
||||||
|
可直接下载二进制文件执行`./hubproxy`使用,无需配置文件即可启动,内置默认配置,支持所有功能。初始内存占用约18M,二进制文件大小约12M
|
||||||
|
|
||||||
这个命令会:
|
这个命令会:
|
||||||
- 🔍 自动检测系统架构(AMD64/ARM64)
|
- 🔍 自动检测系统架构(AMD64/ARM64)
|
||||||
- 📥 从 GitHub Releases 下载最新版本
|
- 📥 从 GitHub Releases 下载最新版本
|
||||||
@@ -52,10 +54,12 @@ curl -fsSL https://raw.githubusercontent.com/sky22333/hubproxy/main/install-serv
|
|||||||
docker pull nginx
|
docker pull nginx
|
||||||
|
|
||||||
# 使用加速
|
# 使用加速
|
||||||
docker pull yourdomain.com/nginx
|
docker pull demo.52013120.xyz/nginx
|
||||||
|
|
||||||
# ghcr加速
|
# ghcr加速
|
||||||
docker pull yourdomain.com/ghcr.io/user/images
|
docker pull demo.52013120.xyz/ghcr.io/sky22333/hubproxy
|
||||||
|
|
||||||
|
# 符合Docker Registry API v2标准的仓库都支持
|
||||||
```
|
```
|
||||||
|
|
||||||
### GitHub 文件加速
|
### GitHub 文件加速
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
services:
|
services:
|
||||||
ghproxy:
|
hubproxy:
|
||||||
build: .
|
build: .
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user