Harbor에서 프로젝트는 컨테이너 이미지 모음을 정리하고 관리하기 위한 논리적 단위 역할을 합니다. 이를 통해 관련 아티팩트를 함께 그룹화하고 전체 컬렉션에 특정 정책, 액세스 제어, 복제 규칙을 적용할 수 있습니다. 프로젝트를 만들기 전에는 이미지를 Harbor로 푸시하거나 가져올 수 없습니다.
시작하기 전에
Harbor 프로젝트를 만들려면 필요한 ID 및 액세스 역할이 있어야 합니다.
Harbor 프로젝트 생성자: 프로젝트에서 HarborInstanceProject 리소스를 관리할 수 있습니다. 조직 IAM 관리자에게 Harbor 프로젝트 생성자 (harbor-project-creator) 역할을 부여해 달라고 요청하세요.
Harbor 프로젝트를 만들기 전에 Harbor가 내 ID를 인식할 수 있도록 먼저 Harbor UI에 로그인해야 합니다. 이 단계를 누락하면 Harbor 프로젝트 생성이 GDC 콘솔에서 거짓양성으로 인해 멈출 수 있습니다.
[[["이해하기 쉬움","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)"],[[["\u003cp\u003eHarbor projects are essential for organizing and managing container images, as they group related artifacts and allow for the application of specific policies and access controls.\u003c/p\u003e\n"],["\u003cp\u003eTo create Harbor projects, users must have the Harbor Project Creator role (\u003ccode\u003eharbor-project-creator\u003c/code\u003e) and sign in to the Harbor UI beforehand to ensure proper identity recognition.\u003c/p\u003e\n"],["\u003cp\u003eHarbor projects can be created using either the GDC console, where users can navigate to the Harbor Container Registry and create projects, or the \u003ccode\u003egdcloud\u003c/code\u003e CLI with the \u003ccode\u003egdcloud harbor harbor-projects create\u003c/code\u003e command.\u003c/p\u003e\n"],["\u003cp\u003eVulnerability scanning is enabled by default when creating a project, however, it can be disabled by clicking the appropriate toggle in the GDC console, or left on if you desire to scan for vulnerabilities.\u003c/p\u003e\n"],["\u003cp\u003eAfter a Harbor Project is created it is recommended to sign in to the Harbor UI to confirm that the project can be viewed.\u003c/p\u003e\n"]]],[],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\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/gdch/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=\u003cvar translate=\"no\"\u003eINSTANCE\u003c/var\u003e\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.\n- \u003cvar translate=\"no\"\u003eINSTANCE\u003c/var\u003e: the name of the instance."]]