Deleting a registry
Note
You can only delete an empty registry. Don't forget to delete Docker images from the registry before performing the operation.
To access a registry, use its ID or name. For information on how to find the registry ID or name, see Getting information about existing registries.
Management console
CLI
API
To delete a registry:
- Open the Container Registry section in the folder where you want to delete the registry.
- 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 don't have the Yandex.Cloud command line interface yet, install and initialize it.
-
Delete the registry:
$ yc container registry delete new-reg ..done
-
Make sure the registry has been deleted:
$ yc container registry list +----+------+-----------+ | ID | NAME | FOLDER ID | +----+------+-----------+ +----+------+-----------+