[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-04 UTC。"],[],[],null,["# Create Harbor projects\n\nIn Harbor, a project serves as a logical unit for organizing and managing a\ncollection of container images. It provides a way to group related artifacts\ntogether and apply specific policies, access controls, and replication rules to\nthe entire collection. Images cannot be pushed or pulled to Harbor before a\nproject is created.\n\nBefore you begin\n----------------\n\nThe Google Distributed Cloud (GDC) air-gapped appliance environment comes with a preconfigured Harbor\ninstance called `tear-harbor`. You cannot create a Harbor instance.\n\nTo create Harbor projects, you must have the necessary identity and access\nroles:\n\n- Harbor Project Creator: has access to manage the `HarborInstanceProject` resource in their project. Ask your Organization IAM Admin to grant you the Harbor Project Creator (`harbor-project-creator`) role.\n- Before creating Harbor projects, you must sign in to the Harbor UI first for Harbor to recognize your identity. If this step is missed, the Harbor project creation might be stuck with a false positive in the GDC console.\n\nCreate a Harbor project\n-----------------------\n\nCreate a Harbor project using the GDC console or the gdcloud CLI. \n\n### Console\n\nIn the GDC console, follow these steps:\n\n1. Click the **Harbor Container Registry** link in the **CI/CD** section in the navigation menu.\n2. Click **Create a Harbor project**.\n3. Enter the name of the project.\n4. Optional: Vulnerability scanning is enabled by default. To disable automatic vulnerability scanning for Harbor projects, click the **Enable vulnerability scanning for the project** toggle. For more information, see [Scan for vulnerabilities](/distributed-cloud/hosted/docs/latest/appliance/platform-application/pa-ao-operations/scan-vulnerabilities).\n5. Click **Create**.\n6. A confirmation message appears stating your project is created successfully.\n7. After your Harbor project is created, sign in to the Harbor UI to confirm that you can view the Harbor project.\n\n### CLI\n\nCreate the Harbor project: \n\n gdcloud harbor harbor-projects create \u003cvar translate=\"no\"\u003eHARBOR_PROJECT\u003c/var\u003e \\\n --project=\u003cvar translate=\"no\"\u003ePROJECT\u003c/var\u003e \\\n --instance=tear-harbor\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eHARBOR_PROJECT\u003c/var\u003e: the name of the Harbor project to create.\n- \u003cvar translate=\"no\"\u003ePROJECT\u003c/var\u003e: the name of the GDC project."]]