Skip to content

Commit

Permalink
image-index: define platform.os.version on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
  • Loading branch information
AkihiroSuda committed Apr 26, 2017
1 parent a82c098 commit cc6c36f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion image-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ For the media type(s) that this document is compatible with, see the [matrix][ma

- **`os.version`** *string*

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

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

Expand Down Expand Up @@ -114,3 +117,4 @@ For the media type(s) that this document is compatible with, see the [matrix][ma

[runtime-platform2]: https://github.com/opencontainers/runtime-spec/blob/v1.0.0-rc3/config.md#platform
[matrix]: media-types.md#compatibility-matrix
[system-version]: https://msdn.microsoft.com/en-us/library/system.version(v=vs.110).aspx
2 changes: 1 addition & 1 deletion specs-go/v1/descriptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type Platform struct {
OS string `json:"os"`

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

// OSFeatures is an optional field specifying an array of strings,
Expand Down

0 comments on commit cc6c36f

Please sign in to comment.