Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add composefile schema 3.7 with platform #1081

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cli/compose/loader/full-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ services:
other-other-network:

pid: "host"
platform: "linux/x86_64"

ports:
- 3000
Expand Down
38 changes: 19 additions & 19 deletions cli/compose/schema/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/compose/schema/data/config_schema_v3.7.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
]
},
"pid": {"type": ["string", "null"]},

"platform": {"type": "string"},
"ports": {
"type": "array",
"items": {
Expand Down
1 change: 1 addition & 0 deletions cli/compose/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ var UnsupportedProperties = []string{
"mac_address",
"network_mode",
"pid",
"platform",
"privileged",
"restart",
"security_opt",
Expand Down