Skip to content

runtime: Explicitly allow 'start' to not validate config.json#418

Merged
crosbymichael merged 1 commit intoopencontainers:masterfrom
wking:optional-start-validation
May 18, 2016
Merged

runtime: Explicitly allow 'start' to not validate config.json#418
crosbymichael merged 1 commit intoopencontainers:masterfrom
wking:optional-start-validation

Conversation

@wking
Copy link
Copy Markdown
Contributor

@wking wking commented May 2, 2016

This spec places RFC-2119 requirements on both bundles (bundle.md,
config.md, ...) and runtimes (runtime.md, runtime-linux.md). While
it's possible to envision a system where bundle validation is required
before container setup begins, it is also possible to decoupled
validation and allow the runtime to blindly stumble through as far as
it can.

We already link to ocitools and OCT for testing both runtimes and
bundles
, so users interested in pre-start validation can use those
tools.

This commit explicitly documents the non-requirement and links to
those tools, to make life less surprising for everybody.

This is the decoupled alternative to #404.

This spec places RFC-2119 requirements on both bundles (bundle.md,
config.md, ...)  and runtimes (runtime.md, runtime-linux.md).  While
it's possible to envision a system where bundle validation is required
before container setup begins, it is also possible to decoupled
validation and allow the runtime to blindly stumble through as far as
it can.

We already link to ocitools and OCT for testing both runtimes and
bundles [1], so users interested in pre-start validation can use those
tools.

This commit explicitly documents the non-requirement and links to
those tools, to make life less surprising for everybody.

[1]: https://github.com/opencontainers/runtime-spec/blob/v0.5.0/implementations.md#testing--tools

Signed-off-by: W. Trevor King <wking@tremily.us>
@mrunalp
Copy link
Copy Markdown
Contributor

mrunalp commented May 18, 2016

LGTM

1 similar comment
@crosbymichael
Copy link
Copy Markdown
Member

LGTM

@crosbymichael crosbymichael merged commit 4436094 into opencontainers:master May 18, 2016
@wking wking deleted the optional-start-validation branch May 20, 2016 04:55
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