V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
kubesre
V2EX  ›  问与答

使用一键脚本搭建自己的镜像加速仓库

  •  
  •   kubesre · Jun 16, 2024 · 1638 views
    This topic created in 694 days ago, the information mentioned may be changed or developed.

    通过项目脚本部署

    # CentOS
    yum -y install wget curl
    # ubuntu
    apt -y install wget curl
    ​
    bash -c "$(curl -fsSL https://raw.githubusercontent.com/kubesre/docker-registry-mirrors/main/dockerproxy/install/DockerProxy_Install.sh)"
    

    🔨 功能

    • 一键部署 Docker 镜像代理服务的功能,并且自动配置 https 证书. ​
    • 支持多个镜像仓库的代理,包括 Docker Hub 、GitHub Container Registry (ghcr.io)、Quay Container Registry (quay.io)和 Kubernetes Container Registry (k8s.gcr.io)
    • 自动检查并安装所需的依赖软件,如 Docker 、Nginx 等,并确保系统环境满足运行要求. 自动清理注册表上传目录中的那些不再被任何镜像或清单引用的文件
    • 提供了重启服务、更新服务、更新配置和卸载服务的功能,方便用户进行日常管理和维护
    • 支持主流 Linux 发行版操作系统,例如 Centos 、Ubuntu 、Rocky 、Debian 、Rhel 等 支持主流 ARCH 架构下部署,包括 linux/amd64 、linux/arm64

    Github 仓库地址:?https://github.com/kubesre/docker-registry-mirrors

    如果觉得有帮助,请在 GitHub 上点个⭐️以示鼓励。

    ttyhtg
        1
    ttyhtg  
       Jun 16, 2024
    收藏备用,虽然现在阿里还能用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5683 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 07:20 · PVG 15:20 · LAX 00:20 · JFK 03:20
    ♥ Do have faith in what you're doing.