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.
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:
docker push cr.yandex/<registry_ID>/<Docker_image_name>
-
In Yandex Cloud CLI commands, use the repository name without the Container Registry address:
yc container image list --repository-name=<registry_ID>/<Docker_image_name>
For a repository, you can set a policy for automatically deleting Docker images. Based on these rules, Docker images will be deleted automatically.