Deleting a registry
Written by
Updated at February 8, 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 existing registries.
Management console
CLI
API
To delete a registry:
- Open Container Registry in the folder to delete a registry from.
- Click
next to 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
Command result:
done
-
Make sure the registry has been deleted:
yc container registry list
Command result:
+----+------+-----------+ | ID | NAME | FOLDER ID | +----+------+-----------+ +----+------+-----------+