[Yandex Cloud documentation](../../index.md) > [Yandex Container Registry](../index.md) > [Concepts](index.md) > Repository

# Repository in Container Registry

A _repository_ is a set of Docker images with the same name. Repositories usually contain several versions of the same Docker image. Tags and digests are used to work with versions inside the repository. For more information, see [Docker image](docker-image.md).

A repository is defined by the `<registry_ID>/<Docker_image_name>` combination.

* In Docker CLI commands, use the full name that includes the Container Registry address:

  ```bash
  docker push cr.yandex/<registry_ID>/<Docker_image_name>
  ```

* In Yandex Cloud CLI commands, use the repository name without the Container Registry address:

  ```bash
  yc container image list --repository-name=<registry_ID>/<Docker_image_name>
  ```

For a repository, you can set a [policy for automatically deleting Docker images](lifecycle-policy.md). Based on these rules, Docker images will be deleted automatically.

## Use cases {#examples}

* [Running a Docker image on a VM](../tutorials/run-docker-on-vm/index.md)
* [Signing and verifying Container Registry Docker images in Yandex Managed Service for Kubernetes](../tutorials/sign-cr-with-cosign.md)
* [Configuring a fault-tolerant architecture in Yandex Cloud](../tutorials/fault-tolerance.md)
* [Deploying a gRPC service based on a Docker image](../tutorials/grpc-node.md)
* [Running a containerized app in Yandex Serverless Containers](../tutorials/deploy-app-container.md)