-
Notifications
You must be signed in to change notification settings - Fork 663
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
base: main
Are you sure you want to change the base?
Document extensibility of the image layout #1230
Conversation
Signed-off-by: Brandon Mitchell <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Implementations should not error when encountering unknown files. | ||
A common usage includes the `manifest.json` file associated with a saved docker image. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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:
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). |
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