How to create a registry
To create a Container Registry registry, run the Nebius AI Cloud CLI command:--name flag is not required, the registry name simplifies finding the registry in the Nebius AI Cloud registries list.
To access the created registry, do the following:
-
Get the region of the project in which you created a registry. You can get it from the endpoint saved in your configuration:
In the output, copy the part after
api.. See all region IDs in Nebius AI Cloud regions. -
In the
metadata.idfield from the output, copy the registry ID part without theregistry-prefix. -
Use the values in the registry URL:
How to delete a registry
To delete a registry:-
Get its ID and path by listing the registries:
The ID is returned in the
.metadata.idfield of the registry resource. The registry path is the registry ID part without theregistry-prefix. -
Check that the registry does not contain images. If you’ve already set up the Region ID and registry path environment variables, use the following command:
Alternatively, use the following command:For example, for the registry with the
registry-a00bcdefghe12xyz3fID in theeu-north1region, use the following command:See all region IDs in Nebius AI Cloud regions. -
Run the following command with the registry ID: