-
Notifications
You must be signed in to change notification settings - Fork 41
privileged operation doesn't work #326
Comments
This is because: https://bugzilla.redhat.com/show_bug.cgi?id=1138601 --> keyctl & add_key are not namespaced Adding
to pkg/cnispawn/spawn.go causes it to get further, now getting:
|
Thanks for the report. I've just followed what you described, and I can confirm that your patch above fixes the issue of keyring. You also mentioned there were another issue with cgroups, even after applying the keyring patch. |
…ration This resolves part of the issue referenced in [kinvolk#326](kinvolk#326) needed to run privileged pods. However, I don't believe it is sufficient to fully support a Pod which wants to run e.g. Docker-In-Docker. Signed-off-by: Don Bowman <db@donbowman.ca>
#328 was merged, so I suppose your issue would be gone. |
If I create a privileged pod running dind (as eg we might do if using gitlab-runner):
And then I kubectl exec into it and run:
It ends up not working:
In the dind container we see this log:
The text was updated successfully, but these errors were encountered: