Deleting a Docker image from a registry
Warning
Starting October 13, 2026, Yandex Container Registry will be unavailable to new users.
The existing users can create resources until November 10, 2026. Afterwards, Yandex Container Registry will go read-only and cease to operate on December 14, 2026. For more information on how it will be handled, see this article on Yandex Container Registry sunset.
Alert
Deleting a Docker image is a deferred operation: once you delete a Docker image, its layers get physically removed after some time, which depends on total amount of data. The registry total size info will be updated 1 hour after physical removal.
To delete a Docker image from the registry, you need the container-registry.images.pusher role or higher.
To delete a Docker image:
- Go to the repository from which you need to delete the image:
- Navigate
to Container Registry. - Open the registry.
- Open the repository.
- Navigate
- Click
next to the Docker image you want to delete. - In the menu that opens, click Delete.
- In the window that opens, click Delete.
If you do not have the Yandex Cloud CLI yet, install and initialize it.
To delete a Docker image, use the image ID. You can get the ID by requesting a list of Docker images in the registry you need.
-
Delete the Docker image:
yc container image delete crp9vik7sgec******** -
Make sure the Docker image has been deleted:
yc container image listResult:
+----+---------+------+------+-----------------+ | ID | CREATED | NAME | TAGS | COMPRESSED SIZE | +----+---------+------+------+-----------------+ +----+---------+------+------+-----------------+