Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document extensibility of the image layout #1230

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sudo-bmitch
Copy link
Contributor

Implementations have been seen that error if a manifest.json is included inside the OCI Layout. This documents the extensibility of the directory structure.

See moby/moby#49141

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Comment on lines +34 to +35
Implementations should not error when encountering unknown files.
A common usage includes the `manifest.json` file associated with a saved docker image.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we do elsewhere, but was wondering if there's value in outlining "why" ("To allow future expansion, and to allow backward compatibility with older specifications").

**Implementor's Note:**
Additional files may be included in the directory.
Implementations should not error when encountering unknown files.
A common usage includes the `manifest.json` file associated with a saved docker image.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
A common usage includes the `manifest.json` file associated with a saved docker image.
A common usage includes the `manifest.json` file associated with a saved Docker image.

We could add a reference for this file too, but I don't think that's actually important. 👍

Another alternative to resolve the proper noun in a different way:

Suggested change
A common usage includes the `manifest.json` file associated with a saved docker image.
A common usage includes the `manifest.json` file associated with the older `docker save` format (for backwards compatibility).

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.

3 participants