Prerequisites
- CLI
- Go SDK
- Python SDK
- JavaScript SDK
Install and configure the Nebius AI Cloud CLI.
How to create a registry
- CLI
- Go SDK
- Python SDK
- JavaScript SDK
Run the following command:Though the
--name parameter is not required, the registry name simplifies finding the registry in the list of registries in Container Registry.In the output, the registry ID is in the metadata.id parameter and the registry fully qualified domain name (FQDN) is in the status.registry_fqdn parameter.registry- prefix. For example, the registry with the registry-a00bcdefghe12xyz3f ID in the eu-north1 region has the cr.eu-north1.nebius.cloud/a00bcdefghe12xyz3f URL.
How to delete a registry
To delete a registry:-
Get the registry ID by listing the registries:
- CLI
- Go SDK
- Python SDK
- JavaScript SDK
The ID is returned in the.metadata.idparameter of the registry resource. -
Delete the registry:
- CLI
- Go SDK
- Python SDK
- JavaScript SDK
In this command, set--idto the registry ID. If the registry contains images, the deletion fails. To delete the registry together with its images, add the--forceparameter.