Project

General

Profile

Actions

Feature #21305

open

implement mirror on sync for docker

Added by Partha Aji about 7 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Container
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When pulp syncs docker repository from upstream it only pulls manifests pointed to by Manifest list or a Tag.
The tag associations are bound to change over time during subsequent syncs. For example tag "latest" may point to a new image manifest. However pulp retains the old tagless manifests and does not delete them.

Docker Manifests/Docker Manifest Lists that do not point to a Tag are very rarely useful from the perspective of the docker client user. Very rarely do users want to say -> docker pull <repo@digest> .

We need to have a "mirror in sync" option in Katello that removes manifests that do not belong to any list or are associated to any tags (similar to the yum one)

Actions

Also available in: Atom PDF