-
Notifications
You must be signed in to change notification settings - Fork 213
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
Rewrite README based on image spec #233
Rewrite README based on image spec #233
Conversation
9cbcdac
to
a98bcaf
Compare
README.md
Outdated
## Distributing OCI Images and other content | ||
|
||
The OCI Distribution Spec is closely related to the [OCI Image Format Spec project](https://github.com/opencontainers/image-spec), | ||
the [OCI Runtime Spec project](https://github.com/opencontainers/runtime-spec), | ||
and the [OCI Artifacts project](https://github.com/opencontainers/artifacts). | ||
|
||
The Image Format Specification strictly defines the requirements for an OCI Image (container image), which consists of | ||
a manifest, an optional image index, a set of filesystem layers, and a configuration. | ||
The schema for OCI Image components is fully supported by the APIs defined in the Distribution Spec. | ||
|
||
The OCI Runtime Specification defines how to properly run a container "[filesystem bundle](https://github.com/opencontainers/runtime-spec/blob/master/bundle.md)" | ||
which fully adheres to the OCI Image Format. The Runtime Spec is relevant to the Distribution Spec in that they both support OCI Images, | ||
and that container runtimes use the APIs defined in the Distribution Spec to fetch pre-built container images and run them. | ||
|
||
The Distribution Spec is also designed generically enough to be leveraged as a distribution mechanism for | ||
any type of content. The format of uploaded manifests, for example, need not necessarily adhere to the OCI Image Format | ||
so long as it references the blobs which comprise a given artifact. | ||
|
||
The OCI Artifacts project is an effort to provide guidance on how to | ||
properly define and distribute content using the Distribution Spec for artifacts which are not container filesystem bundles, | ||
in a way that is mostly compatible with the existing schemas defined in the Image Format Spec. |
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.
This is all new content. Tried to give the bigger picture
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.
For each paragraph in this section, I'd make the the specification being reference links, too.
The [OCI Image Format Specification] ...
The [OCI Runtime Specification] ...
The [OCI Distribution Spec] ...
The [OCI Artifacts] ...
[OCI Image Format Specification]: https://github.com/opencontainers/image-spec
[OCI Image Runtime Specification]: https://github.com/opencontainers/runtime-spec
[OCI Image Distribution Specification]: https://github.com/opencontainers/distribution-spec
[OCI Image Artifacts Specification]: https://github.com/opencontainers/artifacts
If we could get this section across all projects, that would be great.
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.
Also notice that I tried to be consistent with usage of "OCI" when formally naming things.
Looks really good to me, only a basic nitpick on the net-new content. |
@jzelinskie ty for review, back at ya |
Signed-off-by: Josh Dolitsky <[email protected]>
Signed-off-by: Josh Dolitsky <[email protected]>
Signed-off-by: Josh Dolitsky <[email protected]>
6f54774
to
e630d5b
Compare
CI passing now, ping @opencontainers/distribution-spec-maintainers |
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.
👍
Designed to look similar to https://github.com/opencontainers/image-spec/blob/master/README.md
Fixes #200