Skip to content

Commit de499b4

Browse files
committed
image-index: define platform.os.version on Windows
Signed-off-by: Akihiro Suda <[email protected]>
1 parent a82c098 commit de499b4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

image-index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ For the media type(s) that this document is compatible with, see the [matrix][ma
5555

5656
- **`os.version`** *string*
5757

58-
This OPTIONAL property specifies the operating system version, for example `10.0.10586`.
58+
This OPTIONAL property specifies the version of the operating system targeted by the referenced blob.
59+
Implementations MAY refuse to use manifests where `os.version` is not known to work with the host OS version.
60+
The values are implementation-defined when `os` is `windows`. e.g. `10.0.14393.1066`.
61+
The values for other `os`-es SHOULD be submitted to this specification for standardization.
5962

6063
- **`os.features`** *array of strings*
6164

specs-go/v1/descriptor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ type Platform struct {
5151
OS string `json:"os"`
5252

5353
// OSVersion is an optional field specifying the operating system
54-
// version, for example `10.0.10586`.
54+
// version, for example on Windows `10.0.14393.1066`.
5555
OSVersion string `json:"os.version,omitempty"`
5656

5757
// OSFeatures is an optional field specifying an array of strings,

0 commit comments

Comments
 (0)