Skip to content

Commit

Permalink
Windows: Add servicing
Browse files Browse the repository at this point in the history
Signed-off-by: John Howard <jhoward@microsoft.com>
  • Loading branch information
John Howard committed May 12, 2017
1 parent d0a4271 commit 724a202
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions config-windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,15 @@ The following parameters can be specified:
}
}
```

## <a name="configWindowsServicing" />Servicing

You can indicate a container is being started in a mode where a Windows Update servicing operation is being applied via the OPTIONAL `servicing` field of the Windows configuration.

### Example

```json
"windows": {
"servicing": true
}
```
2 changes: 2 additions & 0 deletions specs-go/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,8 @@ type SolarisAnet struct {
type Windows struct {
// Resources contains information for handling resource constraints for the container.
Resources *WindowsResources `json:"resources,omitempty"`
// Servicing indicates if the container is being started in a mode to apply a Windows Update servicing operation.
Servicing bool `json:"servicing,omitempty"`
}

// WindowsResources has container runtime resource constraints for containers running on Windows.
Expand Down

0 comments on commit 724a202

Please sign in to comment.