功能介绍

  • GitHub 加速:通过专用代理加速 GitHub 仓库的访问,提升克隆和下载速度。
  • Docker 镜像加速:为 Docker 用户提供镜像下载的加速服务,减少等待时间。

使用指南

GitHub

要快速克隆 GitHub 上的仓库,请使用以下链接格式:

1
git clone https://ghproxy.cnproxy.top/https://github.com/example/repo.git

只需将 example/repo 替换为您想要克隆的具体仓库路径。

详细用法请参考:https://www.cnproxy.top/

GitHub图床

  • 原始链接

    1
    https://raw.cnproxy.top/geeklinux-io/Picture/main/img/202409090929339.png
  • 加速链接

    1
    2
    https://ghproxy.cnproxy.top/https://raw.githubusercontent.com/geeklinux-io/Picture/main/img/202409090929339.png
    https://raw.cnproxy.top/geeklinux-io/Picture/main/img/202409090929339.png # 需要将blob替换为main

Docker加速

[card title=”提示 2024.12.10” color=”danger”]
docker.cnproxy.top 已被 ban 替换为docker.admin.edu.pl即可
[/card]

  • 第三方组织和个人镜像下载

    1
    docker pull docker.admin.edu.pl/stilleshan/frpc:latest
  • 官方镜像下载

    1
    docker pull docker.admin.edu.pl/library/nginx:latest

方式二:配置 daemon.json

  1. 修改或创建 /etc/docker/daemon.json 文件:

    1
    2
    mkdir -p /etc/docker
    vi /etc/docker/daemon.json

    内容示例:

    1
    2
    3
    {
    "registry-mirrors": ["https://docker.admin.edu.pl"]
    }
  2. 重启 Docker 服务:

    1
    systemctl restart docker