-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(containers): added z-flag support for bind mounts in container creation #1910
base: develop
Are you sure you want to change the base?
Conversation
Is there any issue already to which this PR is related to? |
Yes there is: #853 |
Alright, so if this feature works only for SELinux maybe we can check if OS is SELinux using SystemInfo call before displaying additional UI elements(just to avoid inputs that is not going to affect anything). |
@G07cha these options help working around issues when using Docker with SELinux enabled but I don't think that they are reserved to these kind of environments. |
But is it affects anything in other environments? If it's not I don't see a point of having it for places where it doesn't affect anything. |
@G07cha the :z flag enables to inherit permissions including selinux labels (most common problem occurance in combination with the z flag) & is there any need of adding the :Z flag too? |
I believe that we should support both. It's just a matter of UX, for each volume we should be able to specify rw, ro, z, or Z. |
If it's effective in most of OS-es then it's good to me! Thanks for the explanation, @Trudels! |
@deviantony actually you can create volumes with ro + z |
@Trudels you're right, removed my comment. From Docker docs:
I'll try to have a look at the proposed UX in this PR soon. |
alright let me know if you know how i should implement it, or are you taking over? i don't mind.. Greetings |
Feel free to propose something to support both z & Z. I'm a bit busy on other topics right now. |
alright i'll think about something... Greets |
Hey Anthony,
Please let me know about the status of the PR.
Greets & Have a nice day
Sebastian