I've been using Nexus to publish my Docker images for a couple of months and I really like the features it adds to a classic Docker Registry.
Recently, the number of images we're storing caused disk space issues. I looked around the graphical interface and there's apparently nothing to remove several Docker images at the same time. I know there's a Nexus task to remove unused artifacts but it seems to work only for Maven and Nugget.
Is there a way with Nexus Repository Manager OSS 3.0.1-01 to remove unused images or at least several images at the same time?
Thanks!
Yes to clean up old container images periodically you need to set up two tasks
The first is just soft delete (marking for deletion), the second task does the job of actual clean up so make sure you do both.
Below are the steps
Together both the task created above will do the clean up docker blobs as per criteria defined in the policy.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With