To create a Harbor instance, run:
gdcloud harbor instances create example-instance \
--project=example-project \
--initial-harbor-project=foo
--initial-harbor-project-enable-vulnerability-scanning=true
선택적 플래그
--initial-harbor-project string Initial Harbor project created along with the Harbor instance. If omitted, an initial Harbor project is not created.
--initial-harbor-project-enable-vulnerability-scanning Enable vulnerability scanning for the initial Harbor project. Only evaluated if --initial-harbor-project was used. (default true)
GDCLOUD 전체 플래그
이러한 플래그는 모든 명령어에서 사용할 수 있습니다(--configuration, --format, --help, --project, --quiet).
[[["이해하기 쉬움","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\u003eThe \u003ccode\u003egdcloud harbor instances create\u003c/code\u003e command is used to create a new Harbor instance.\u003c/p\u003e\n"],["\u003cp\u003eAn initial Harbor project can be created concurrently with the Harbor instance using the \u003ccode\u003e--initial-harbor-project\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eVulnerability scanning for the initial Harbor project can be enabled or disabled using the \u003ccode\u003e--initial-harbor-project-enable-vulnerability-scanning\u003c/code\u003e flag.\u003c/p\u003e\n"],["\u003cp\u003eThe command requires specifying the instance name and also the project under which the instance will be created.\u003c/p\u003e\n"]]],[],null,["# gdcloud harbor instances create\n\nNAME\n----\n\ngdcloud harbor instances create - Create a Harbor instance.\n\nSYNOPSIS\n--------\n\n gdcloud harbor instances create INSTANCE_NAME [flags]\n\n### EXAMPLES\n\n To create a Harbor instance, run:\n\n gdcloud harbor instances create example-instance \\\n --project=example-project \\\n --initial-harbor-project=foo\n --initial-harbor-project-enable-vulnerability-scanning=true\n\n### OPTIONAL FLAGS\n\n --initial-harbor-project string Initial Harbor project created along with the Harbor instance. If omitted, an initial Harbor project is not created.\n --initial-harbor-project-enable-vulnerability-scanning Enable vulnerability scanning for the initial Harbor project. Only evaluated if --initial-harbor-project was used. (default true)\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]