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

Add OCI Runtime Abstract #691

Merged
merged 1 commit into from
Feb 17, 2017
Merged

Conversation

crosbymichael
Copy link
Member

Closes #506

Signed-off-by: Michael Crosby crosbymichael@gmail.com

@mrunalp
Copy link
Contributor

mrunalp commented Feb 16, 2017

LGTM

Approved with PullApprove

spec.md Outdated
The OCI Runtime Specification aims to specify the inputs and outputs for running containers on various platforms.

A container's input or configuration is specified as the `config.json` for the supported platforms and details fields that enable containers to run on that platform.
It contains host specific information for the creation of a container.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you want “host specific” → “host-specific”, although master has inconsistent hyphenation for this.

spec.md Outdated

The OCI Runtime Specification aims to specify the inputs and outputs for running containers on various platforms.

A container's input or configuration is specified as the `config.json` for the supported platforms and details fields that enable containers to run on that platform.
Copy link
Contributor

Choose a reason for hiding this comment

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

You have “on various platforms” in the previous paragraph, so I don't think you need “for the supported platforms” here. Maybe just echo the current configuration description?

A container's input is a configuration which contains metadata necessary to implement standard operations against the container. This includes the process to run, environment variables to inject, sandboxing features to use, etc.

spec.md Outdated
A container's input or configuration is specified as the `config.json` for the supported platforms and details fields that enable containers to run on that platform.
It contains host specific information for the creation of a container.

The outputs of a container are defined as both actions that can be performed on a container after it has been created and the environment details that the container provides to applications running inside of it.
Copy link
Contributor

Choose a reason for hiding this comment

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

These don't sound like “the outputs of a container” to me. Actions are more like additional inputs. The container environment is more of a runtime output, and that's probably what you're trying to focus on here. I'd consider container output to be things like filesystem alterations which persist after container exit (e.g. simulation results written to a bind-mounted volume). And containers which host services don't fit cleanly into the the idea of “container output” at all. Maybe de-emphasize input/output and instead sketch the configuration, actions, and lifecycle in a few sentences each? Something like:

Containers are configured with metadata necessary to implement standard operations against the container. This includes the process to run, environment variables to inject, sandboxing features to use, etc. Runtimes create containers from that configuration, and several operations are defined to manage the container over its lifecycle.

@cyphar
Copy link
Member

cyphar commented Feb 16, 2017

I don't really like the "input and outputs" description either. I'd prefer if we instead emphasised that the runtime specification defines the execution environment configuration and lifecycle management of containers. There are inputs and outputs involved, but the key point is that we're standardising the lifecycle and the configuration of container runtimes.

Closes opencontainers#506

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
@crosbymichael
Copy link
Member Author

@cyphar updated based on feedback

@cyphar
Copy link
Member

cyphar commented Feb 17, 2017

lgtm

@dqminh
Copy link
Contributor

dqminh commented Feb 17, 2017

LGTM

Approved with PullApprove

1 similar comment
@mrunalp
Copy link
Contributor

mrunalp commented Feb 17, 2017

LGTM

Approved with PullApprove

@mrunalp mrunalp merged commit 359de8f into opencontainers:master Feb 17, 2017
@vbatts vbatts mentioned this pull request Mar 6, 2017
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.

5 participants