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.

Prerequisites

How to create a registry

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.
To access the created registry, use its URL:
The registry path is the registry ID without the 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:
  1. Get the registry ID by listing the registries:
    The ID is returned in the .metadata.id parameter of the registry resource.
  2. Delete the registry:
    In this command, set --id to the registry ID. If the registry contains images, the deletion fails. To delete the registry together with its images, add the --force parameter.