Details
-
Story
-
Resolution: Done
-
Critical
-
3.0.0
-
5
Description
There is currently no way to clean up old docker images from a hosted repository.
Docker images can be very large, and are often deployed in environments where access to older versions of an image is not necessary.
There should be a scheduled task to clean up old hosted docker images, and to also clean up layers which are no longer used by any hosted images.
Acceptance Criteria
- A user will be able to purge Docker images older than X days from a Docker hosted repository
- Since Docker images share layers we can't remove all of the layers attached to the image, we have to remove them after we know they aren't used anymore
- As a part of removing the old images, we should clean up all orphaned layers
NOTE:
- More info on how Docker is handling deletes: https://github.com/docker/distribution/blob/master/ROADMAP.md#deletes
Attachments
Issue Links
- discovered while testing
-
NEXUS-22639 Docs need example for cleaning up Docker images
-
- New
-
- is duplicated by
-
NEXUS-11955 Scheduled task to delete Docker images after configurable period
-
- Closed
-
- is related to
-
NEXUS-11860 Purge old artifacts from repo by custom rule
-
- Closed
-
-
NEXUS-12706 Task to clean old packages on specific repository
-
- Closed
-
- relates
-
NEXUS-15365 Docker tree view rendering is confusing
-
- Closed
-
-
NEXUS-9293 add a task to purge dangling docker images
-
- Closed
-
- mentioned in
-
Page Loading...