Mount /proc in linux-sandbox with Recursive Bind option #18070
Unanswered
Ryang20718
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently on Bazel 6.0.0
Problem: Due to Nvidia Runtime Mounting Proc, when running bazel within a docker container, we hit
We see that there's a nested proc mount
Whilst I know this is nvidia problem and limited to local execution, it would be nice to be able to use linux-sandbox within a docker container w/ access to Nvidia runtime.
Proposal:
Add recursive bind option when mounting proc.
Given that proc is mounted as read only, I don't think the recursive mount would be an issue?
I have a PR outlining this simple fix. #18069. Wondering if this is something that can get shipped upstream or whether we'd need to maintain a patch ourselves
Beta Was this translation helpful? Give feedback.
All reactions