Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Container Registry
  • Getting started
    • All guides
    • Installing and configuring Docker
    • Authentication in Container Registry
      • Getting information about existing 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
    • Scanning Docker images for vulnerabilities
    • Creating a trigger for a registry
  • Yandex Container Solution
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Troubleshooting
  • FAQ
  1. Step-by-step guides
  2. Managing a Docker image
  3. Deleting a Docker image from a registry

Deleting a Docker image from a registry

Written by
Yandex Cloud
Updated at November 2, 2026
View in Markdown

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.

Management console
CLI
API

To delete a Docker image:

  1. Go to the repository from which you need to delete the image:
    1. Navigate to Container Registry.
    2. Open the registry.
    3. Open the repository.
  2. Click next to the Docker image you want to delete.
  3. In the menu that opens, click Delete.
  4. 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.

  1. Delete the Docker image:

    yc container image delete crp9vik7sgec********
    
  2. Make sure the Docker image has been deleted:

    yc container image list
    

    Result:

    +----+---------+------+------+-----------------+
    | ID | CREATED | NAME | TAGS | COMPRESSED SIZE |
    +----+---------+------+------+-----------------+
    +----+---------+------+------+-----------------+
    

To delete a Docker image, use the delete method for the Image resource.

Was the article helpful?

Previous
Pulling a Docker image from a registry
Next
Getting information about existing Helm charts
© 2026 Direct Cursus Technology L.L.C.