Skip to main content
Registries in Container Registry store Docker images and make them available to your resources. This guide will help you create and delete registries in Container Registry.

How to create a registry

To create a registry in Container Registry, run the Nebius AI Cloud CLI command:
Though the --name parameter is not required, the registry name simplifies finding the registry in the list of registries in Container Registry. To access the created registry, do the following:
  1. 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.
  2. From the registry creation command output, copy the registry ID part from the metadata.id parameter without the registry- prefix.
  3. Use the values in the registry URL:

How to delete a registry

To delete a registry:
  1. Get its ID and path by listing the registries:
    The ID is returned in the .metadata.id parameter of the registry resource. The registry path is the registry ID part without the registry- prefix.
  2. Check that the registry does not contain images. If you’ve already set up the region and registry path environment variables, use the following command:
    Alternatively, use the following command:
    For example, for the registry with the registry-a00bcdefghe12xyz3f ID in the eu-north1 region, use the following command:
    See all region IDs in Nebius AI Cloud regions.
  3. Run the following command with the registry ID:
If you have just one registry and are sure it does not contain images, use this set of commands to delete it more quickly: