Skip to content

Commit

Permalink
Merge pull request opencontainers#293 from imjasonh/max-manifest
Browse files Browse the repository at this point in the history
Document manifest size limit recommendation

Signed-off-by: Jason Hall <[email protected]>
  • Loading branch information
vbatts authored and imjasonh committed Mar 3, 2022
2 parents cf3ca0c + 54a193f commit bac4d47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,10 @@ The `<location>` is a pullable manifest URL.

An attempt to pull a nonexistent repository MUST return response code `404 Not Found`.

A registry SHOULD enforce some limit on the maximum manifest size that it can accept.
A registry that enforces this limit SHOULD respond to a request to push a manifest over this limit with a response code `413 Payload Too Large`.
Client and registry implementations SHOULD expect to be able to support manifest pushes of at least 4 megabytes.

#### Content Discovery

Currently, the only functionality provided by this workflow is the ability to discover tags.
Expand Down

0 comments on commit bac4d47

Please sign in to comment.