Deleting a registry


    You can only delete an empty registry. Don't forget to delete Docker images from the registry before performing the operation.

    To access the registry, use its ID or name. For information on how to find the registry ID or name, see Getting information about existing registries.

    To delete a registry:

    1. Open the Container Registry section in the folder where you want to delete the registry.
    2. Click image in the line of the registry to delete.
    3. In the menu that opens, click Delete.
    4. In the window that opens, click Delete.

    If you don't have the Yandex.Cloud command line interface yet, install it.

    1. Delete the registry:

      $ yc container registry delete new-reg 
    2. Make sure the registry has been deleted:

      $ yc container registry list
      | ID | NAME | FOLDER ID |

    To delete a registry, use the delete method for the Registry resource.