-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
why does buildkitd need root privilege? #252
Comments
BuildKit executes the build processes in full containers. Privileges are needed both for extracting the root filesystems of containers and for executing the containers with runc. There are some suggestions for making the ux better in #237 because the BuildKit API itself is mostly safe to be used by unprivileged users. I agree that readme can be improved and on starting |
In addition to Tonis's work, I'm planning to implement "rootless" mode. I have a POC runtime that allows running |
BuildKit in rootless mode: https://twitter.com/_AkihiroSuda_/status/955698849560997888 (Requires opencontainers/runc#1688 to be merged first) |
https://github.com/jessfraz/img is a daemonless and rootless application of buildkit |
Is the goal to upstream that stuff after (seems like it :) then I can just update my vendor hahaha |
I launched a buildkitd with
and then run
it failed with
and buildkitd prints the following log
It would be OK if I launched a buildkitd with
sudo
.Can the READMD.md doc mention why does it still need root privilege?
The text was updated successfully, but these errors were encountered: