Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 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 November 24, 2025

Alert

Deleting a Docker image is a deferred action operation: once you delete a Docker image, its layers get physically removed after some time, which depends on total volume 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 to remove the image from:
    1. Navigate to the folder dashboard and select Container Registry.
    2. Open the appropriate 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 installed 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
    

    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.