rootless: mount proc:/proc (via /proc/self/fd/6), flags: 0xe: operation not permitted
#4073
Labels
mount proc:/proc (via /proc/self/fd/6), flags: 0xe: operation not permitted
#4073
In attempting to try using
moby/buildkit:master-rootless
I've a small issue with/proc
mounting:The container starts successfully, but on a
buildctl --addr tcp://localhost:1234 build --frontend dockerfile.v0 --local dockerfile=. --local context=.
of https://github.com/moby/buildkit, the build fails quickly:In the buildkit logs:
I did some basic investigation, it seems slightly reminiscent of opencontainers/runc#1658? Based on that, changing the
docker run
to include-v /proc:/newproc
does in-fact "fix" the issue.Maybe also related to moby/moby#41893? Applying a similar patch in https://github.com/moby/buildkit also "fixes" the issue (though I'm actually unsure if this is the fix wanted):
System info
Happy to try and make a VM image to reproduce my system if necessary 😄
The text was updated successfully, but these errors were encountered: