Skip to content

Clarify when non-distributable layer policies should be enforced #475

@stevvooe

Description

@stevvooe

This came up in this discussion: moby/moby#28903 (comment).

For docker, the mediaType for a nondistributable layer is only enforced on push, leaving the mediaType ignored on pull. On pull, the urls field is used instead. While this specification doesn't define push and pull, we should clarify that it is important that these operations be only enforced on the correct data flow direction.

This is very subtle, but preserving this behavior ensures flexibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions