Skip to content

Add layer sizes to buildx imagetools inspect #1558

@ddelange

Description

@ddelange

Hi 👋

I'd like to use docker manifest inspect -v to sum up layer sizes: https://stackoverflow.com/a/73108928/5511061

However, this command does not currently support OCI manifests. The alternative, docker buildx imagetools inspect --raw, does not include the verbosity needed to sum up layer sizes.

Leaving this here as suggested in docker/build-push-action#764 (comment) and in moby/moby#43126 (comment)

Originally posted by @ddelange in #1509 (comment)

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