dockerhub-to-aliyun-acr-sync

Community

Mirror Docker Hub images to Aliyun ACR easily.

Authorhugogu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Sync a Docker Hub image tag into Aliyun ACR Personal with the same repository basename and tag. Supports platform selection (linux/amd64, linux/arm64, etc.) and a two-phase network-switch workflow for environments behind the GFW where Docker Hub and Aliyun ACR are on separate networks.

Core Features & Use Cases

  • Sync a single Docker image tag from Docker Hub to Aliyun ACR Personal while preserving the original tag and repo basename.
  • Supports optional platform specification (linux/amd64, linux/arm64, etc.).
  • Two-phase workflow: pull from Docker Hub, then push to Aliyun ACR after user confirmation.
  • Environment variable handling for credentials (ALIYUN_ACR_REGISTRY, ALIYUN_ACR_USERNAME, ALIYUN_ACR_PASSWORD).
  • Use case: Mirror a critical image across networks that require VPN/allowed egress to both Docker Hub and Aliyun ACR.

Quick Start

Provide the source image with tag and optional platform, then follow Phase 1 to pull from Docker Hub and Phase 2 to push to Aliyun ACR after confirmation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dockerhub-to-aliyun-acr-sync
Download link: https://github.com/hugogu/skills/archive/main.zip#dockerhub-to-aliyun-acr-sync

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.