Skip to content

Windows: OCI remove first start#26650

Merged
cpuguy83 merged 1 commit intomoby:masterfrom
microsoft:jjh/firststart
Sep 18, 2016
Merged

Windows: OCI remove first start#26650
cpuguy83 merged 1 commit intomoby:masterfrom
microsoft:jjh/firststart

Conversation

@lowenna
Copy link
Copy Markdown
Member

@lowenna lowenna commented Sep 16, 2016

Signed-off-by: John Howard [email protected]

This PR moves Windows a little closer to OCI compliance for the runtime spec. There are no functional changes in the PR. In the proof of concept PR opencontainers/runtime-spec#504, there was a comment from @wking opencontainers/runtime-spec#504 (comment) that (rightly) the first start flag didn't belong in the spec and should be moved to the runtime.

This PR does exactly that, and handles the first start optimisation on Windows through a CreateOption to libcontainerd.

@mlaventure @tonistiigi PTAL.

/cc @jstarks FYI

Comment thread libcontainerd/client_windows.go Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

IgnoreFlush is a little misleading since this is just during boot.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@jstarks - updated.

@mlaventure
Copy link
Copy Markdown
Contributor

LGTM

@thaJeztah thaJeztah added this to the 1.13.0 milestone Sep 17, 2016
@cpuguy83
Copy link
Copy Markdown
Member

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants