Skip to content

Cleanup your docker registry and only keep the latest images.

Notifications You must be signed in to change notification settings

BouweCeunen/docker-registry-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Docker Registry Cleanup

Cleanup your docker registry and only keep the 3 (can be configured) latest images.

Installation

There are 2 cronjobs, one which will use Deckschrubber to annotate images for deletion and one to run the Docker registry garbage-collect on a different time.

! Note that this will keep only the 3 latest tag of each registry image. You can change this in the cleanup-tags.yml file.

kubectl apply -f kubernetes/

About

Cleanup your docker registry and only keep the latest images.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published