Stay organized with collections
Save and categorize content based on your preferences.
This page details how to manage your created Harbor registry instances. View or
delete your created Harbor registry instances using the Google Distributed Cloud (GDC) air-gapped console or the GDC
gdcloud CLI. Delete unused Harbor instance registries to lower your storage
costs and free up space.
Before you begin
To view and delete Harbor registry instances, you must have the necessary
identity and access roles:
Harbor Instance Viewer: required to view Harbor instances. Ask your
Organization IAM Admin to grant you the Harbor Instance Viewer
(harbor-instance-viewer) role.
Harbor Instance Admin: required to delete Harbor instances. Ask your
Organization IAM Admin to grant you the Harbor Instance Admin
(harbor-instance-admin) role.
View Harbor registry instances
View your created Harbor registry instances in the GDC console or use the GDC
gdcloud CLI.
Console
Navigate to the Harbor Container Registry page in the CI/CD
section.
View the list of created Harbor instances in the Instances section.
For more detail about a specific instance, click the Go to Harbor
Instance external link.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\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."]]