-
Notifications
You must be signed in to change notification settings - Fork 41
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
fix: disable selinux label when mounting the volume for the playground #457
Conversation
Fixes containers#456 Signed-off-by: Jeff MAURY <[email protected]>
@@ -212,6 +212,7 @@ export class PlayGroundManager { | |||
Type: 'bind', | |||
}, | |||
], | |||
SecurityOpt: [DISABLE_SELINUX_LABEL_SECURITY_OPTION], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are the implication of this security option ? Why does it is required ? I cannot really understand the link with applehv from the documentation https://docs.podman.io/en/v4.6.1/markdown/options/security-opt.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The volumes are not readable if this option is not set on Linux and applehv. Inspired from containers/podman#3683
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we might want to include this option on windows or we don't care ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is set for all platforms, I prefer to have a single general flow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
chore: handle some AVX flags properly on certain Intel CPUs
Fixes #456
What does this PR do?
Change options while starting the playground server
Screenshot / video of UI
N/A
What issues does this PR fix or reference?
#456
How to test this PR?
Start the playground for a model on Linux or MacOS applehv