Skip to content

validate: fix platform check#347

Closed
Mashimiao wants to merge 1 commit intoopencontainers:masterfrom
Mashimiao:validate-fix-platform-check
Closed

validate: fix platform check#347
Mashimiao wants to merge 1 commit intoopencontainers:masterfrom
Mashimiao:validate-fix-platform-check

Conversation

@Mashimiao
Copy link

currently, only platform linux, windows and solaris are valid.

Signed-off-by: Ma Shimiao mashimiao.fnst@cn.fujitsu.com

currently, only platform linux, windows and solaris are valid.

Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
@wking
Copy link
Contributor

wking commented Mar 14, 2017 via email

@Mashimiao
Copy link
Author

Mashimiao commented Mar 14, 2017 via email

@wking
Copy link
Contributor

wking commented Mar 14, 2017 via email

@Mashimiao
Copy link
Author

If according to https://github.com/opencontainers/runtime-spec/blame/v1.0.0-rc5/config.md#L301, platform.os is really very permissive and there is no need to change the code.
But I doubt if support all OS is correct.
By the way, there is always one question in mind, the spec support windows OS, but how windows make processs isolated without namespace? @wking do you know that?

@wking
Copy link
Contributor

wking commented Mar 14, 2017 via email

@Mashimiao
Copy link
Author

Mashimiao commented Mar 14, 2017 via email

@wking
Copy link
Contributor

wking commented Jun 16, 2017

With opencontainers/runtime-spec#850 landed, I expect we can close this PR and, once runtime-spec cuts an rc6, file a new one to remove all of CheckPlatform.

@Mashimiao
Copy link
Author

As runtime-spec removed platform entry, closing this PR.

@Mashimiao Mashimiao closed this Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants