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
OPTIONAL FLAGS
--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 WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["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-03-05 UTC."],[[["The `gdcloud harbor instances create` command is used to create a new Harbor instance."],["An initial Harbor project can be created concurrently with the Harbor instance using the `--initial-harbor-project` flag."],["Vulnerability scanning for the initial Harbor project can be enabled or disabled using the `--initial-harbor-project-enable-vulnerability-scanning` flag."],["The command requires specifying the instance name and also the project under which the instance will be created."]]],[]]