[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-19。"],[],[],null,["# Migrate to Containers CLI architecture\n======================================\n\nThis page provides a high-level description of how Migrate to Containers CLI\ntransforms your applications residing on virtual machine (VM) instances into\nartifacts that you can use to deploy your application components from the\nsource environment to a target cluster on [Google Kubernetes Engine (GKE)](/kubernetes-engine)\nor [GKE Enterprise](/anthos).\n\nMigrate to Containers CLI components\n------------------------------------\n\nModernization using Migrate to Containers CLI spans across three steps: Transformation,\nWorkload deployment, and Maintenance.\n\n1. **Transformation** -- Migrate to Containers CLI is used to transform a VM-based\n application component into a container-based application component ready to\n be deployed. This spans across five phases:\n\n 1. **Copy** -- Copy the file system of the target machine to the local machine.\n 2. **Analyze** -- Analyze the file system to create a migration plan.\n 3. **Edit** -- Edit the plan to modify the migration outputs to fit your needs.\n 4. **Generate** -- Generate artifacts such as Docker files, Docker contexts, Kubernetes deployment files and Skaffold configuration.\n 5. **Migrate data** -- Copy the data files into persistent volumes. This is optional.\n2. **Workload deployment** -- You can deploy Migrated container workloads on\n any GKE or GKE Enterprise cluster meeting the minimum\n requirements. The migration artifacts can include one or more Dockerfiles,\n one or more Kubernetes deployment specs, and a Skaffold configuration file.\n\n3. **Maintenance** -- After you migrate container workloads, you typically\n perform optimization and maintenance operations. The extracted workload\n content and the generated Dockerfile can be integrated in a CI/CD pipeline\n for efficient image-based maintenance.\n\nWhat's next\n-----------\n\n- Learn about [reviewing compatible OS, workloads, and Kubernetes versions](/migrate/containers/docs/m2c-cli/compatible-components).\n- Learn how to [discover, collect, and assess VMware VMs for migration](/migrate/containers/docs/mcdc-vmware-quickstart).\n- Learn how to [migrate a VM](/migrate/containers/docs/migrate-vm)."]]