[Yandex Cloud documentation](../../../index.md) > [Yandex Container Registry](../../index.md) > [Step-by-step guides](../index.md) > Managing a Docker image > Getting information about existing Docker images

# Getting information about existing Docker images

Find out how to get:
* [List of Docker images in a registry](#docker-image-list).
* [Detailed information about a Docker image](#docker-image-get).

## Getting a list of Docker images in a registry {#docker-image-list}

{% list tabs group=instructions %}

- CLI {#cli}

  If you do not have the Yandex Cloud CLI yet, [install and initialize it](../../../cli/quickstart.md#install).

  Get a list of [Docker images](../../concepts/docker-image.md) in the current registry:

  ```bash
  yc container image list
  ```

  Result:

  ```text
  +----------------------+---------------------+----------------------------+------+-----------------+
  |          ID          |       CREATED       |            NAME            | TAGS | COMPRESSED SIZE |
  +----------------------+---------------------+----------------------------+------+-----------------+
  | crp9vik7sgec******** | 2019-01-17 17:00:48 | crph8pf7irvc********/myimg |  111 | 30.7 MB         |
  +----------------------+---------------------+----------------------------+------+-----------------+
  ```

- API {#api}

  To get a list of Docker images in a registry, use the [list](../../api-ref/Image/list.md) method for the [Image](../../api-ref/Image/index.md) resource.

{% endlist %}

## Getting information about a Docker image {#docker-image-get}

{% list tabs group=instructions %}

- CLI {#cli}

  Get detailed information about a Docker image using the `id` from the [previous](#docker-image-list) item:

  ```bash
  yc container image get crphc7nnrvhl********
  ```

  Result:
  
  ```bash
  id:crphc7nnrvhl********
  name: crpd50616s9a********/ubuntu
  digest: sha256:035ac8e1bd9c49871a2fd76ccb3c4b0f84e7eee775919ccd345337ec********
  ...
    size: "163"
  tags:
  - hello
  ```

- API {#api}

  To get detailed information about a Docker image, use the [get](../../api-ref/Image/get.md) method for the [Image](../../api-ref/Image/index.md) resource.

{% endlist %}