Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 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 March 6, 2025

Alert

Deleting a Docker image is a deferred action operation: when you delete a Docker image, its layers are physically removed 1 hour later. Information about the total size of the registry is also updated 1 hour later.

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 to remove the image from:
    1. Go to the folder page and select Container Registry.
    2. Open the appropriate registry.
    3. Open the repository.
  2. Click the icon next to the Docker image 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 retrieve the ID by requesting a list of Docker images in the desired registry.

  1. Delete the Docker image:

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

    yc container image list
    

    Command 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
© 2025 Direct Cursus Technology L.L.C.