-
Notifications
You must be signed in to change notification settings - Fork 95
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
--security-opt="label=disable"
not supported in finch run
#192
Comments
Hi @stmcginnis, nerdctl, our CLI tool, currently does not support SELinux context labeling ( I'm curious to understand the use case for this considering Mac does not use SELinux labels for its filesystem. |
Hey @mharwani - thanks for the pointers. It is a bit weird, I'll admit. I think ideally it would just be ignored on macOS. The reason for even bringing this up is in Bottlerocket I was looking at what it would take to build the project on macOS. In the Bottlerocket build script we run an SDK container to perform a lot of the build steps. https://github.com/bottlerocket-os/bottlerocket/blob/develop/Makefile.toml#L444 That flag is needed on Linux, but obviously then not needed on macOS. If it were just ignored as not applicable, that would be the simplest. If there needs to be a bunch of conditional logic to determine what platform we are running on, then that gets very messy very quick. My 2 cents at least. ;) |
Thanks for the context @stmcginnis, that makes sense. I think regardless of whether this is resolved in |
Describe the bug
The
--security-opt
argument tofinch run
is used to set security options.When using
docker
, we a project that disables security labeling using--security-opt label=disable
. According to the Docker documentation, this is used to "Turn off label confinement for the container".It appears none of the
label=*
values there are valid with Finch. They result in:Steps to reproduce
Run a command, passing one of the
label
security configuration options.Expected behavior
Security labeling should be modified.
The text was updated successfully, but these errors were encountered: