[[["易于理解","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-09-04。"],[[["\u003cp\u003eThis page provides instructions on how to manage Harbor registry instances within Google Distributed Cloud (GDC) air-gapped environments.\u003c/p\u003e\n"],["\u003cp\u003eYou can view existing Harbor instances via the GDC console or the \u003ccode\u003egdcloud\u003c/code\u003e CLI, with detailed views available through an external link for each instance.\u003c/p\u003e\n"],["\u003cp\u003eDeleting unused Harbor instances can help lower storage costs and free up space, a process achievable through either the GDC console or the \u003ccode\u003egdcloud\u003c/code\u003e CLI.\u003c/p\u003e\n"],["\u003cp\u003eTo view Harbor instances, you need the Harbor Instance Viewer role, while deleting them requires the Harbor Instance Admin role.\u003c/p\u003e\n"]]],[],null,["# Manage Harbor registry instances\n\nThis page details how to manage your created Harbor registry instances. View or\ndelete your created Harbor registry instances using the Google Distributed Cloud (GDC) air-gapped console or the GDC\ngdcloud CLI. Delete unused Harbor instance registries to lower your storage\ncosts and free up space.\n\nBefore you begin\n----------------\n\nTo view and delete Harbor registry instances, you must have the necessary\nidentity and access roles:\n\n- Harbor Instance Viewer: required to view Harbor instances. Ask your Organization IAM Admin to grant you the Harbor Instance Viewer (`harbor-instance-viewer`) role.\n- Harbor Instance Admin: required to delete Harbor instances. Ask your Organization IAM Admin to grant you the Harbor Instance Admin (`harbor-instance-admin`) role.\n\nView Harbor registry instances\n------------------------------\n\nView your created Harbor registry instances in the GDC console or use the GDC\ngdcloud CLI. \n\n### Console\n\n1. Navigate to the **Harbor Container Registry** page in the **CI/CD** section.\n2. View the list of created Harbor instances in the **Instances** section.\n3. For more detail about a specific instance, click the **Go to Harbor\n Instance** external link.\n\n### CLI\n\nView the Harbor registry instance: \n\n gdcloud harbor instances describe \u003cvar translate=\"no\"\u003eINSTANCE\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE\u003c/var\u003e: the name of the instance.\n- \u003cvar translate=\"no\"\u003ePROJECT\u003c/var\u003e: the name of the project.\n\nDelete Harbor registry instances\n--------------------------------\n\nDelete an existing Harbor registry instance if it is no longer required. Harbor\nregistry instances in the GDC console or use the\nGDC\ngdcloud CLI. \n\n### Console\n\n1. Navigate to the **Harbor Container Registry** page under the **CI/CD** section.\n2. Click **Delete Instance**.\n3. On the confirmation dialog:\n\n 1. Click **Cancel** to stop the delete operation.\n 2. Click **Delete** to confirm the deletion of the Harbor instance.\n\n### CLI\n\nDelete the Harbor registry instance: \n\n gdcloud harbor instances delete \u003cvar translate=\"no\"\u003eINSTANCE\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE\u003c/var\u003e: the name of the instance.\n- \u003cvar translate=\"no\"\u003ePROJECT\u003c/var\u003e: the name of the project."]]