Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Container Registry
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Authentication in Yandex Container Registry
    • Managing a Docker image
      • Getting information about available Docker images
      • Creating a Docker image
      • Pushing a Docker image to a registry
      • Pulling a Docker image from a registry
      • Deleting a Docker image from a registry
    • Managing a registry
      • Getting information about existing registries
      • Creating a registry
      • Updating a registry
      • Deleting a registry
    • Managing a repository
      • Getting information about existing repositories
    • Managing policies for automatically deleting Docker images
      • Getting information about existing lifecycle policies
      • Creating a lifecycle policy
      • Updating a lifecycle policy
      • Performing lifecycle policy dry runs
      • Deleting a lifecycle policy
    • Working with roles
      • Assign a role
      • Viewing assigned roles
      • Revoke a role
  • Yandex Container Solution
  • Use cases
    • All use cases
    • Running a Docker image on a VM
  • Concepts
    • Overview
    • Docker image
    • Registry
    • Repository
    • Policies for automatically deleting Docker images
    • Backups
    • Quotas and limits
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • ImageService
      • LifecyclePolicyService
      • RegistryService
      • RepositoryService
      • ScannerService
      • OperationService
    • REST
      • Overview
      • Image
        • Overview
        • delete
        • get
        • list
      • LifecyclePolicy
        • Overview
      • Registry
        • Overview
        • create
        • delete
        • get
        • list
        • listAccessBindings
        • setAccessBindings
        • update
        • updateAccessBindings
      • Repository
        • Overview
        • get
        • list
        • listAccessBindings
        • setAccessBindings
        • updateAccessBindings
      • Scanner
        • Overview
  • Troubleshooting
  • Questions and answers
  1. Step-by-step instructions
  2. Managing a Docker image
  3. Getting information about available Docker images

Getting information about available Docker images

  • Getting a list of Docker images in a registry
  • Getting information about a Docker image

Find out how to get:

  • A list of Docker images in a registry
  • Detailed information about a Docker image

Getting a list of Docker images in a registry

CLI
API

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

Get a list of Docker images in the current registry:

$ yc container image list
+----------------------+---------------------+----------------------------+------+-----------------+
|          ID          |       CREATED       |            NAME            | TAGS | COMPRESSED SIZE |
+----------------------+---------------------+----------------------------+------+-----------------+
| crp9vik7sgeco7emq743 | 2019-01-17 17:00:48 | crph8pf7irvcu3p7gjpb/myimg |  111 | 30.7 MB         |
+----------------------+---------------------+----------------------------+------+-----------------+

You can get a list of Docker images in a registry by using the list method for the Image resource.

Getting information about a Docker image

CLI
API

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

Get detailed information about a Docker image by using the id from the previous item:

$ yc container image get crphc7nnrvhlg73oeiv5
id:crphc7nnrvhlg73oeiv5
name: crpd50616s9a2t7gr8mi/ubuntu
digest: sha256:035ac8e1bd9c49871a2fd76ccb3c4b0f84e7eee775919ccd345337ec7b49f80d
compressed_size: "32179828"
config:
id: crpm7evgqjvq5nmfbr0o
  digest: sha256:50ff4b0e5783e7d012818d995ddea71849c9e88221d9707018e924b850d5961b
  size: "3618"
layers:
- id: crp0l3gr1hd2dilbdp6u
  digest: sha256:a5bdc630309340a3154f37e17c00a61c28c476107656e8d6744d2ba9af980058
  size: "509"
- id: crpqlnj04jn0oatdi08d
  digest: sha256:84ed7d2f608f8a65d944b40132a0333069302d24e9e51a6d6b338888e8fd0a6b
  size: "32174695"
- id: crpudn4acvclasn6u1uh
  digest: sha256:be2bf1c4a48dae92d5a1b8aa319c8767fa491316fb80da52de80378264599a16
  size: "843"
- id: crpqp1jjjmft5o02hg97
  digest: sha256:e9055237d68d011bb90d49096b637b3b6c5c7251f52e0f2a2a44148aec1181dc
  size: "163"
tags:
- hello

You can get detailed information about a Docker image by using the get method for the Image resource.

In this article:
  • Getting a list of Docker images in a registry
  • Getting information about a Docker image
Language
Careers
Privacy policy
Terms of use
© 2021 Yandex.Cloud LLC