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

Windows: Add servicing #815

Merged
merged 1 commit into from
May 23, 2017
Merged

Windows: Add servicing #815

merged 1 commit into from
May 23, 2017

Conversation

lowenna
Copy link
Contributor

@lowenna lowenna commented May 12, 2017

Signed-off-by: John Howard jhoward@microsoft.com

Similar to #814, the Windows implementation of the docker daemon still passes a number of fields out of band from the OCI runtime spec. This PR addresses the Servicing field by adding it to the runtime spec. https://github.com/moby/moby/blob/master/libcontainerd/client_windows.go#L152-L154

@lowenna
Copy link
Contributor Author

lowenna commented May 13, 2017

Adding matching change to config-windows.json

@tianon
Copy link
Member

tianon commented May 18, 2017

Is there any documentation that could be pointed to which explains what this means? (to help users and/or implementers know when it's appropriate to set?)

@lowenna
Copy link
Contributor Author

lowenna commented May 22, 2017

Rebased.

@lowenna
Copy link
Contributor Author

lowenna commented May 22, 2017

@tianon Brian from my team may be able to comment further on the above if the following doesn't cover it.

I'm not aware of any formal documentation. It means that the container has to be started in a special mode to apply a servicing operation (eg Windows update), as during shutdown, it indicated that updates needed to be applied.

I should also mentioned that the change has been validated to be good in the context of moby/moby (https://github.com/Microsoft/docker/tree/jjh/ocispec-moveservicing)

@tianon
Copy link
Member

tianon commented May 22, 2017

Ah, perhaps the description in the markdown could be expanded to just include a few more of those words? That clears it up well for me (and I'm fully trusting that you've verified the change, was just hoping for a bit more to explain to the layperson what/why ❤️).

@lowenna
Copy link
Contributor Author

lowenna commented May 22, 2017

@tianon OK, updated config.md with the following:

When a container terminates, the Host Compute Service indicates if a Windows update servicing operation is pending.
You can indicate that a container should be started in a mode to apply pending servicing operations via the OPTIONAL `servicing` field of the Windows configuration. 

@tianon
Copy link
Member

tianon commented May 22, 2017

LGTM

👍

Approved with PullApprove

Signed-off-by: John Howard <jhoward@microsoft.com>
@lowenna
Copy link
Contributor Author

lowenna commented May 22, 2017

Fixed dangling white-space error on the amendment to config.md which caused CI to fail

@tianon
Copy link
Member

tianon commented May 22, 2017

LGTM

(redux)

Approved with PullApprove

@hqhq
Copy link
Contributor

hqhq commented May 23, 2017

LGTM

Approved with PullApprove

@hqhq hqhq merged commit 4a20bd2 into opencontainers:master May 23, 2017
@lowenna lowenna deleted the servicing branch May 23, 2017 04:41
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants