国内 Docker镜像加速!GitHub加速,CNPROXY.TOP

CNPROXY.TOP 是一个为用户提供 GitHub 和 Docker 下载加速服务的平台,高速访问 GitHub 上的 Docker 镜像和文件,这个项目是刚写的,受某位大佬的启发,首先感谢大佬们对开源项目的贡献,也感谢Nextjs提供了这么牛叉的框架,下面是使用文档

功能介绍

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

使用指南

GitHub

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

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

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

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

GitHub图床

  • 原始链接

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

    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加速

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

    docker pull docker.cnproxy.top/stilleshan/frpc:latest
  • 官方镜像下载

    docker pull docker.cnproxy.top/library/nginx:latest

方式二:配置 daemon.json

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

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

    内容示例:

    {
      "registry-mirrors": ["https://docker.cnproxy.top"]
    }
  2. 重启 Docker 服务:

    systemctl restart docker
评论区
头像