Docker 镜像迁移 · Docker Image Migration

    by 才下啦

    1

    规划 Docker 镜像跨仓库、跨架构与跨主机迁移,输出步骤、风险与回滚方案。

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Docker 镜像迁移 · Docker Image Migration

    Example session with this skill installed

    请规划把 12 个服务镜像从 Docker Hub 迁到内网 Harbor,含 arm64 多架构,要求可回滚。

    • Read your context and instructions
    • Compiled the docker docker image

    Docker 镜像迁移方案已生成。

    阶段计划

    1. 盘点:列出 12 个镜像与全部 tag
    2. 架构:确认 amd64/arm64 manifest 完整性
    3. 同步:skopeo copy --all 到 Harbor
    4. 验证:每个镜像跑 smoke test
    5. 回滚:保留 Docker Hub 源 14 天

    关键命令

    skopeo copy --all docker://docker.io/app:v1 docker://harbor.local/app:v1
    

    风险与回滚

    • 风险:大层传输占带宽 → 夜间执行
    • 风险:多架构 manifest 丢失 → 用 --all 同步
    • 回滚:改回原 registry 前缀并重建服务

    Next steps

    1. 先迁 1 个低流量镜像做试点。
    2. 同步后比对 digest。
    3. 14 天观察期后下线旧仓库。

    Connects securely to your tools. The creator never sees your data.

    About this skill

    它解决什么问题

    小团队经常会遇到不一致的 Docker 镜像迁移过程。开发人员和运维人员之间的手动交接会导致构建中断、环境变量丢失以及过渡期间所有权不明确。

    这个技能做什么

    • 生成完整的 Docker 迁移计划,包括架构图和分步执行指南。
    • 生成可重用的 Dockerfile 模板和 shell 脚本,用于自动图像标记和注册表推送。
    • 创建定义团队角色、职责和移交工件的协作清单。
    • 维护一致的技术术语表,以确保命名约定在整个堆栈中保持统一。

    框架和工具

    Docker、Docker Compose、光标编辑器和 shell 脚本 (bash/zsh)。

    为什么比裸提示词强

    通用的法学硕士通常提供通用的 Docker 命令,而无需团队协作所需的组织上下文。这项技能强制实施结构化工作流程,优先考虑即时可用性和明确的交接点,从而减少团队成员之间的来回沟通。

    典型用例

    • 将遗留的整体服务迁移到容器化的微服务中。
    • 将映像从本地开发环境移动到私人团队注册表。
    • 跨不同开发人员工作站标准化 Docker 构建管道。

    局限

    针对光标编辑器环境进行了优化。它不直接执行实时网络操作或注册表身份验证。


    English · 英文介绍

    The problem

    Small teams often struggle with inconsistent Docker image migration processes. Manual handoffs between developers and ops lead to broken builds, missing environment variables, and unclear ownership during the transition.

    What it does

    • Generates complete Docker migration plans including architecture diagrams and step-by-step execution guides.
    • Produces reusable Dockerfile templates and shell scripts for automated image tagging and registry pushing.
    • Creates collaboration manifests that define roles, responsibilities, and handoff artifacts for the team.
    • Maintains a consistent technical glossary to ensure naming conventions stay unified across the stack.

    Frameworks & tools

    Docker, Docker Compose, Cursor Editor, and shell scripting (bash/zsh).

    Why this beats prompting it yourself

    General-purpose LLMs often provide generic Docker commands without the organizational context needed for team collaboration. This skill enforces a structured workflow that prioritizes immediate usability and clear handoff points, reducing the back-and-forth between team members.

    Use cases

    • Migrating legacy monolithic services into containerized microservices.
    • Moving images from local development environments to private team registries.
    • Standardizing Docker build pipelines across different developer workstations.

    Known limitations

    Optimized for the Cursor editor environment. It does not perform live network operations or registry authentication directly.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    This skill provides a structured framework for Docker migrations, including automated generation of migration plans, Dockerfile templates, and collaboration manifests that define specific team roles and handoff points.

    This skill is specifically optimized for use within the Cursor Editor environment and integrates seamlessly with Docker, Docker Compose, and shell scripting workflows.

    No, for security reasons, the skill generates the necessary scripts and plans but does not perform live network operations or handle private registry authentication directly.

    You will receive the full skill package, which includes the logic for generating architecture diagrams, execution guides, standardized templates, and a technical glossary for your team.

    Updates are periodically released to ensure compatibility with new Cursor features and evolving Docker best practices; buyers will have access to these version updates through their marketplace library.

    New in DevOps & Cloud

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.