Skip to content

Commit 724a202

Browse files
author
John Howard
committed
Windows: Add servicing
Signed-off-by: John Howard <jhoward@microsoft.com>
1 parent d0a4271 commit 724a202

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

config-windows.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,15 @@ The following parameters can be specified:
9494
}
9595
}
9696
```
97+
98+
## <a name="configWindowsServicing" />Servicing
99+
100+
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.
101+
102+
### Example
103+
104+
```json
105+
"windows": {
106+
"servicing": true
107+
}
108+
```

specs-go/config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,8 @@ type SolarisAnet struct {
432432
type Windows struct {
433433
// Resources contains information for handling resource constraints for the container.
434434
Resources *WindowsResources `json:"resources,omitempty"`
435+
// Servicing indicates if the container is being started in a mode to apply a Windows Update servicing operation.
436+
Servicing bool `json:"servicing,omitempty"`
435437
}
436438

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

0 commit comments

Comments
 (0)