linux-sandbox(bwrap) - GPU Access
Resolved 💬 2 comments Opened May 19, 2026 by ebendler Closed May 19, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
CLI
What feature would you like to see?
We would like for sandboxed agents to be able to run GPU-accelerated applications inside the sandbox, but there are two things missing at the moment to make that happen:
- The sandbox does not mount the various
/devpoints needed to access a GPU - Our driver (
libcuda.so) needs to know it is in a sandbox so that we can disable a few non-core features that have no way of working in bwrap but are fatal in a normal environment.
Another agent gives us a consistent env-var for this, but the Codex implementation of bwrap does not have anything that we can key off of.
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Thanks for the bug report. This is a duplicate