Project

Profile

Help

Story #276

[RFE] Need a way to remove docker images that are untagged and are not used by other images

Added by daviddavis almost 7 years ago. Updated over 2 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Target Release - Docker:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

++ This bug was initially created as a clone of Bugzilla Bug #1171842 ++

Description of problem:

We have a feature request to support the removal of orphaned docker images (ones that don't have tags or aren't used as layers by other images) in Katello so we'd like a command and API call to remove these images.

http://projects.theforeman.org/issues/7811

--- Additional comment from at 01/06/2015 18:26:56 ---

Pulp doesn't have API endpoints that implement workflows for specific content types. We might add a command to our CLI to do something like this, but I don't think it makes sense to have it as part of our content-agnostic REST API.

I recommend that katello proceeds with this in the web UI. Looking at any specific repo, it should be straight-forward to identify layers that are not tagged nor referenced by another layer in the repo, and offer to remove them from the repo with the normal unit remove operation.

This whole workflow is subject to change once the v2 registry API and "manifest" concepts are fully integrated into docker.

History

#1 Updated by ipanova@redhat.com over 3 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#2 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF