github代理工具

域名: https://mirror.ghproxy.com (已挂)
https://ghproxy.link/

使用方式:

支持终端命令行 git clone , wget , curl 等工具下载.
支持 raw.githubusercontent.com , gist.github.com , gist.githubusercontent.com 文件下载.
注意:不支持 SSH Key 方式 git clone 下载

git clone

git clone https://mirror.ghproxy.com/https://github.com/stilleshan/ServerStatus

git clone 私有仓库

# Clone 私有仓库需要用户在 Personal access tokens 申请 Token 配合使用.
git clone https://user:your_token@mirror.ghproxy.com/https://github.com/your_name/your_private_repo

wget & curl

wget https://mirror.ghproxy.com/https://github.com/stilleshan/ServerStatus/archive/master.zip
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/stilleshan/ServerStatus/master/Dockerfile
curl -O https://mirror.ghproxy.com/https://github.com/stilleshan/ServerStatus/archive/master.zip
curl -O https://mirror.ghproxy.com/https://raw.githubusercontent.com/stilleshan/ServerStatus/master/Dockerfile

Docker代理加速

https://dockerproxy.com/ 已被强
https://dockerproxy.link/

方案一:修改 daemon.json ( 推荐 )

如果仅仅是使用 Docker Hub 官方镜像,可以将本站加入到 daemon.json 文件中,那么可以直接使用正常的官方命令来拉取镜像或启动容器,系统会自动使用本站代理服务,而不会有上述镜像名的问题.

配置 /etc/docker/daemon.json

{ "registry-mirrors": [ "https://dockerproxy.net" ] }

个人配置参考

{
        "registry-mirrors": [
                "https://dockerproxy.net",
                "https://registry.cn-hangzhou.aliyuncs.com",
                "https://registry.docker-cn.com",
                "https://mirror.ccs.tencentyun.com",
                "https://05f073ad3c0010ea0f4bc00b7105ec20.mirror.swr.myhuaweicloud.com",
                "http://f1361db2.m.daocloud.io"
        ]
}

方案二:修改docker.service配置文件

需要自己有代理地方

#编辑docker.service文件,新增三行内容,代理地址配置为自己的代理地址即可
vim /lib/systemd/system/docker.service
Environment="HTTP_PROXY=http://192.168.1.7:7897"
Environment="HTTPS_PROXY=http://192.168.1.7:7897"
Environment="NO_PROXY=127.0.0.0/8,172.17.0.0/16,172.29.0.0/16,10.244.0.0/16,192.168.0.0/16,10.96.0.0/12,haoge.com,cluster.local"
# 重载系统配置并重启docker服务
systemctl daemon-reload && systemctl restart docker

方案三: Docker Hub官方镜像代理

常规镜像代理

官方命令:docker pull stilleshan/frpc:latest
代理命令:docker pull dockerproxy.net/stilleshan/frpc:latest

根镜像代理

官方命令:docker pull nginx:latest
代理命令:docker pull dockerproxy.net/library/nginx:latest

GitHub Container Registry

常规镜像代理

官方命令:docker pull ghcr.io/username/image:tag
代理命令:docker pull ghcr.dockerproxy.net/username/image:tag

Google Container Registry

常规镜像代理

官方命令:docker pull gcr.io/username/image:tag
代理命令:docker pull gcr.dockerproxy.net/username/image:tag

Google Kubernetes

常规镜像代理

官方命令:docker pull k8s.gcr.io/username/image:tag
官方命令:docker pull registry.k8s.io/username/image:tag
代理命令:docker pull k8s.dockerproxy.net/username/image:tag

根镜像代理

官方命令:docker pull k8s.gcr.io/coredns:1.6.5
官方命令:docker pull registry.k8s.io/coredns:1.6.5
代理命令:docker pull k8s.dockerproxy.net/coredns:1.6.5

Quay.io

常规镜像代理

官方命令:docker pull quay.io/username/image:tag
代理命令:docker pull quay.dockerproxy.net/username/image:tag

Microsoft Artifact Registry

常规镜像代理

官方命令:docker pull mcr.microsoft.com/azure-cognitive-services/diagnostic:latest
代理命令:docker pull mcr.dockerproxy.net/azure-cognitive-services/diagnostic:latest

Linux服务器设置代理

vim set-proxy.sh

export HTTPS_PROXY=http://192.168.31.215:7890   #本地的代理地址
export NO_PROXY="127.0.0.1/8,192.168.100.0/24,*.haoge.com,.cluster.local,.svc.cluster.local,10.100.0.0/16,10.200.0.0/16"
exec bash

其他代理

国内镜像加速地址监测: https://status.1panel.top/status/docker
镜像加速:https://github.com/DaoCloud/public-image-mirror
二进制文件加速:https://github.com/DaoCloud/public-binary-files-mirror
Helm 加速:https://github.com/DaoCloud/public-helm-charts-mirror

V2_ray安装部署文档: https://guide.v2fly.org/

国内镜像加速代理相关博客,可参考

https://blog.csdn.net/urmljyc/article/details/147134506

Github上的代理工具连接

https://github.com/developer-over/socks2trojan?tab=readme-ov-file

国内各大软件镜像网站

镜像站 网址
阿里云 https://developer.aliyun.com/mirror/
华为云镜像 https://mirrors.huaweicloud.com
网易开源镜像站 https://mirrors.163.com
搜狐镜像站 https://mirrors.sohu.com
腾讯软件源 https://mirrors.tencent.com
天翼云开源镜像站 http://mirrors.ctyun.cn
公云PubYun http://mirrors.pubyun.com
首都在线科技 http://mirrors.yun-idc.com

教育网镜像站

镜像站 网址
清华大学 https://mirrors.tuna.tsinghua.edu.cn
浙江大学开源软件镜像站 https://mirrors.zju.edu.cn
中国科学技术大学开源软件镜像 https://mirrors.ustc.edu.cn
上海交大致远镜像站 https://mirrors.sjtug.sjtu.edu.cn
南京大学开源镜像站 https://mirror.nju.edu.cn
北京外国语大学开源软件镜像站 https://mirrors.bfsu.edu.cn
山东大学镜像站 https://mirrors.sdu.edu.cn
齐鲁工业大学开源软件镜像站 https://mirrors.qlu.edu.cn
南阳理工学院开源软件镜像站 https://mirror.nyist.edu.cn
南方科技大学开源软件镜像站 https://mirrors.sustech.edu.cn
华南农业大学开源软件镜像站 https://mirrors.scau.edu.cn
北京交通大学自由与开源软件镜像站 https://mirror.bjtu.edu.cn
西安交通大学软件镜像站 https://mirrors.xjtu.edu.cn
吉林大学开源镜像站 https://mirrors.jlu.edu.cn
哈尔滨工业大学开源镜像站 https://mirrors.hit.edu.cn
华中科技大学开源镜像站 https://mirrors.hust.edu.cn
Taiwan Digital Streaming https://mirror.twds.com.tw
北京交通大学 http://mirror.bjtu.edu.cn/cn
交大資工系計算機中心 https://linux.cs.nctu.edu.tw
武昌首义学院开源软件镜像站 https://mirrors.wsyu.edu.cn
北京大学开源镜像站 https://mirrors.pku.edu.cn
作者:于浩  创建时间:2024-01-22 19:12
最后编辑:于浩  更新时间:2025-06-17 17:31