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

config: Require hook support on Linux and Solaris #870

Merged
merged 2 commits into from
Jun 1, 2017

Conversation

wking
Copy link
Contributor

@wking wking commented May 31, 2017

This builds on #869, so review that one first.

Clarifying the language from #855 according to this comment. Without something like this commit, there's no clear way for config authors to know if their runtime will support hooks or not, and there was previous agreement that that sort of ambiguity was not helpful. This also gives normative Markdown grounding for the Go platform tag added in 28e8f68.

wking added 2 commits May 31, 2017 15:49
Not all hooks are run after creation.  In fact, there are currently no
postcreate hooks (prestart hooks are called "after the start operation
is called but before the user-specified program command is executed".

Fixing 28e8f68 (Hooks to linux,solaris and doc clarification,
2017-05-24, opencontainers#855), which pulled the broken line in from a Go comment
[1].

[1]: opencontainers#855 (comment)

Signed-off-by: W. Trevor King <[email protected]>
Clarifying the language from 28e8f68 (Hooks to linux,solaris and doc
clarification, 2017-05-24, opencontainers#855), which did not say which platforms
support hooks and which don't.  Without something like this commit,
there's no clear way for config authors to know if their runtime will
support hooks or not, and there was previous agreement that that sort
of ambiguity was not helpful [1].  This also gives normative Markdown
grounding for the Go platform tag added in 28e8f68.

[1]: opencontainers#472 (comment)

Signed-off-by: W. Trevor King <[email protected]>
@crosbymichael
Copy link
Member

crosbymichael commented Jun 1, 2017

LGTM

Approved with PullApprove

1 similar comment
@mrunalp
Copy link
Contributor

mrunalp commented Jun 1, 2017

LGTM

Approved with PullApprove

@crosbymichael crosbymichael merged commit 358f49e into opencontainers:master Jun 1, 2017
@wking wking deleted the no-hooks-on-windows branch June 2, 2017 04:18
@vbatts vbatts mentioned this pull request Jul 5, 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.

3 participants