Deleting a registry
Written by
Updated at December 16, 2024
Note
You can only delete an empty registry. Make sure to delete Docker images from the registry before deleting the registry itself.
To access a registry, use its ID or name. For information about how to get the registry ID or name, see Getting information about registries
Management console
CLI
API
To delete a registry:
- Open Container Registry in the folder to delete a registry from.
- Click
in the line of the registry to delete. - In the menu that opens, click Delete.
- In the window that opens, click Delete.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
-
Delete the registry:
yc container registry delete new-reg
The result will be as follows:
done
-
Make sure the registry has been deleted:
yc container registry list
The result will be as follows:
+----+------+-----------+ | ID | NAME | FOLDER ID | +----+------+-----------+ +----+------+-----------+