Skip to content

Commit

Permalink
platform: s/osx/darwin/
Browse files Browse the repository at this point in the history
The platform string conforms to the Go/OCI convention.
https://github.com/opencontainers/image-spec/blob/v1.0.2/image-index.md

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
  • Loading branch information
AkihiroSuda committed Jul 6, 2022
1 parent a5cd401 commit d93a4a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1462,11 +1462,13 @@ pids_limit: 10
### platform

`platform` defines the target platform containers for this service will run on, using the `os[/arch[/variant]]` syntax.
The values of `os`, `arch`, and `variant` MUST conform to the convention used by the [OCI Image Spec](https://github.com/opencontainers/image-spec/blob/v1.0.2/image-index.md).

Compose implementation MUST use this attribute when declared to determine which version of the image will be pulled
and/or on which platform the service’s build will be performed.

```yml
platform: osx
platform: darwin
platform: windows/amd64
platform: linux/arm64/v8
```
Expand Down

0 comments on commit d93a4a5

Please sign in to comment.