-
Notifications
You must be signed in to change notification settings - Fork 5k
build: Fix docker run when selinux is enabled #21017
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
Conversation
Hi @nirs. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@prezha can you confirm that this was reverted by mistake? |
thats interesting...that was merged last month but the xcgo error happend today...I wonder why... |
When mouting volumes we need to use :Z suffix to allow access to the mounted directory. This fixes docker run when running on Fedora an other distros using selinux by default.
@medyagh @ComradeProgrammer can you add /ok-to-test? build should pass now after #21027 was merged. |
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube start: 49.3s 50.1s 47.7s 50.1s 52.3s Times for minikube ingress: 14.5s 16.0s 15.5s 16.0s 15.0s docker driver with docker runtime
Times for minikube (PR 21017) ingress: 13.3s 13.3s 13.3s 13.3s 12.3s Times for minikube start: 25.3s 25.0s 23.5s 21.7s 27.6s docker driver with containerd runtime
Times for minikube start: 26.0s 21.9s 22.9s 23.0s 23.5s Times for minikube ingress: 22.8s 22.8s 22.8s 22.8s 26.8s |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: medyagh, nirs The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
When mouting volumes we need to use :Z suffix to allow access to the mounted directory. This fixes docker run when running on Fedora an other distros using selinux by default.
NOTE: This change was committed as part of #20746, but it was reverted by mistake by ##20852.