Quantcast
Channel: Michaël’s coding thoughts
Viewing all articles
Browse latest Browse all 131

Remove docker images from a Container Registry using PowerShell

$
0
0
When using a Docker Registry, like hub.docker.com, you will not often want to delete a published version of an image. You cannot know if someone, somewhere in the world is using that specific version. But when using a repository as part of your CI/CD pipeline, you might have lots of versions that are not used by anyone anymore. So, what if you want to clean the repository automatically? In this article, I will show how the delete images by tag, using PowerShell and the Docker Registry HTTP API V2.

Viewing all articles
Browse latest Browse all 131

Trending Articles