Skip to content

crane: how to copy a sub-set of a image platforms? #1143

@rgl

Description

@rgl

How can we copy the images of a manifest list that match a given platform list?

Using crane --all we can copy all the images from a manifest list.

Using crane --platform we can can copy a single image that matches the given singular platform, but how about a sub-set? Something like crane --platform linux/amd64,linux/arm64?

This would be useful for copying a sub-set of the debian:bullseye-slim images (e.g. just the linux/amd64 and linux/arm64 platform images).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions