Skip to content

Support stripping dropped instances from manifests when making sparse multi-platform copies #1661

@tumberino

Description

@tumberino

Hi,

Not sure if this is a bug or the intended behaviour so asking for clarification. When using the CopySpecifcImages it will copy the images listed in the Instances field but then try to put the entire manifest list into the destination which will only have the updated details for those copied as part of the Instances.

This will result in seeing manifest blob unknown: blob unknown to registry error, because there will be blobs referenced in the manifest that have not been included in the copy because they are not in the Instances list.

The language in the documentation for CopySpecifcImages does have the line "along with the list itself". Is this useful behaviour?

The usecase for this is to be able to copy only specific architectures from a multi-arch manifest rather than copying across all which can be costly storage. 1-2 GB wasted from unrequired archs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureA request for, or a PR adding, new functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions