Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Container Registry
  • Getting started
    • All guides
    • Installing and configuring Docker
    • Authentication in Container Registry
      • Getting information about existing repositories
      • Creating a repository
    • Scanning Docker images for vulnerabilities
    • Creating a trigger for a registry
  • Yandex Container Solution
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Troubleshooting
  • FAQ

In this article:

  • Getting a list of repositories in a registry
  • Getting information about a repository
  1. Step-by-step guides
  2. Managing a repository
  3. Getting information about existing repositories

Getting information about existing repositories

Written by
Yandex Cloud
Updated at May 5, 2025
  • Getting a list of repositories in a registry
  • Getting information about a repository

Getting a list of repositories in a registryGetting a list of repositories in a registry

CLI
API

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

  1. View a description of the CLI command to get a list of repositories:

    yc container repository list --help
    
  2. Get a list of repositories.

    • To get a list of all the repositories of all the registries in the current folder, run the command:

      yc container repository list
      

      Result:

      +----------------------+-----------------------------+
      |          ID          |            NAME             |
      +----------------------+-----------------------------+
      | crp8bu81b5af******** | crp0pmf1n68t********/ubuntu |
      | crps9c63evii******** | crpl3738e9v1********/ubuntu |
      +----------------------+-----------------------------+
      
    • To get a list of all the repositories in a particular registry, run the command:

      yc container repository list --registry-id <registry_ID>
      

      Result:

      +----------------------+-----------------------------+
      |          ID          |            NAME             |
      +----------------------+-----------------------------+
      | crp8bu81b5af******** | crp0pmf1n68t********/ubuntu |
      +----------------------+-----------------------------+
      

To retrieve a list of repositories in a registry, use the List method for the Repository resource.

Note

The repository appears in the list as soon as at least one Docker image is pushed to it.

Getting information about a repositoryGetting information about a repository

CLI
API
  1. View a description of the CLI command to get repository information:

    yc container repository get --help
    
  2. Get information about the repository.

    • By repository ID:

      yc container repository get --id <repository_ID>
      

      Result:

      name: crp0pmf1n68t********/ubuntu
      id: crp8bu81b5af********
      
    • By repository name:

      yc container repository get --name <repository_name>
      

      Result:

      name: crp0pmf1n68t********/ubuntu
      id: crp8bu81b5af********
      

      You can specify both the full name of the Docker image and prefixes. For example, you can get information about the crpvplula8p3********/myproject/myservice repository by specifying crpvplula8p3********/myproject/myservice, crpvplula8p3********/myproject, or crpvplula8p3********.

Get information about the repository.

  • By repository ID:

    Use the Get method for the Repository resource. Specify the repository ID in the repositoryId property.

  • By repository name:

    Use the GetByName method for the Repository resource. Specify the repository name in the repositoryName property.

You can retrieve a list of repositories in a registry by using the List method for the Repository resource.

Was the article helpful?

Previous
Deleting a registry
Next
Creating a repository
© 2025 Direct Cursus Technology L.L.C.