Search code examples
dockergoogle-container-registry

How to remove a pushed image in Google Container Registry


Is it possible to remove a pushed image from Google Container Registry?

I mean without handling the Google Cloud Storage directory directly.

Thanks!


Solution

  • As explained here you can delete an image from Google Container Registry with the following gcloud command:

    gcloud container images delete IMAGE_NAMES [IMAGE_NAMES …] [GLOBAL-FLAG …]