Skip to content

Clarify practical image size and layer limits - #1349

Open
jakezwang wants to merge 1 commit into
opencontainers:mainfrom
jakezwang:fix/issue-1048-20261121
Open

jakezwang wants to merge 1 commit into
opencontainers:mainfrom
jakezwang:fix/issue-1048-20261121

Conversation

@jakezwang

Copy link
Copy Markdown

Explain which limits depend on the archive, registry, and unpacking implementation. Distinguish the Distribution Specification’s manifest-size guidance from the total size of the referenced layer blobs.

Fixes #1048.

Ran make validate-examples and checked the linked manifest, layer and Distribution Specification v1.1.1 sections.

Prepared with assistance from OpenAI Codex.

Assisted-by: OpenAI Codex
Signed-off-by: Jake Wang <jakezwang@users.noreply.github.com>
@sudo-bmitch

Copy link
Copy Markdown
Contributor

This gets a soft NACK from me. Quoting @tianon in the linked issue:

The spec (intentionally) doesn't explicitly define any hard limits on any of these things.

I don't know that this PR actually fixes #1048, but rather it breaks the maintainer intentions described in the comments there.

Defining limits here could be interpreted as restricting usage of the spec in scenarios that do not involve distribution-spec. And this is adding dependencies to external specs and implementations that I think we're better off not needing to maintain and keep in sync as upstream tooling changes in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation for OCI Limitations

2 participants