Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Intertech Services AG
Yandex Container Registry
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Authentication in Container Registry
    • Managing a Docker image
    • Managing Helm charts
    • Managing a registry
      • Getting information about existing registries
      • Creating a registry
      • Configuring access to a registry
      • Updating a registry
      • Deleting a registry
    • Managing a repository
    • Managing Docker image lifecycle policies
    • Scanning Docker images for vulnerabilities
    • Working with roles
  • Yandex Container Solution
  • Practical guidelines
  • Concepts
  • Access management
  • Pricing policy
  • API reference
  • Troubleshooting
  • Questions and answers
  1. Step-by-step instructions
  2. Managing a registry
  3. Deleting a registry

Deleting a registry

Written by
Yandex Cloud

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 about how to get the registry ID or name, see Getting information about existing registries.

Management console
CLI
API

To delete a registry:

  1. Open Container Registry in the folder where you wish to delete a registry.
  2. Click next to the registry to delete.
  3. In the resulting menu, click Delete.
  4. In the window that opens, click Delete.

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

  1. Delete the registry:

    yc container registry delete new-reg
    

    Command result:

    done
    
  2. Make sure the registry has been deleted:

    yc container registry list
    

    Command result:

    +----+------+-----------+
    | ID | NAME | FOLDER ID |
    +----+------+-----------+
    +----+------+-----------+
    

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

Was the article helpful?

Language / Region
Yandex project
© 2023 Intertech Services AG