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

validate: fix platform check #347

Closed

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