I launched a buildkitd with
buildkitd --debug --root tmp --addr tcp://0.0.0.0:9999
and then run
BUILDKIT_HOST=tcp://0.0.0.0:9999 buildctl build --frontend=dockerfile.v0 --local context=. --local dockerfile=.
it failed with
error: failed to solve: rpc error: code = PermissionDenied desc = operation not permitted
and buildkitd prints the following log
DEBU[0001] saved pepcogt875omp04yuoxemwku9 as local.sharedKey:context:.dockerignore:
DEBU[0001] saved b1ak00yut64moftomnakdvqrd as local.sharedKey:dockerfile:Dockerfile:
ERRO[0002] /moby.buildkit.v1.Control/Solve returned error: operation not permitted
DEBU[0002] session finished: <nil>
It would be OK if I launched a buildkitd with sudo.
Can the READMD.md doc mention why does it still need root privilege?
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?