docs(codex): troubleshoot bubblewrap unavailable in sandboxed runtimes#917
Merged
Conversation
…xed runtimes When Codex runs inside an already-isolated OpenAB runtime without bubblewrap installed, its inner sandbox fails with 'bubblewrap is unavailable'. Document both resolution options: installing bwrap or disabling the inner sandbox. Closes #908
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Collaborator
Author
|
LGTM ✅ — Clear troubleshooting documentation for a real pain point. What This PR DoesDocuments the How It WorksAdds a new troubleshooting entry to Findings
All findings addressed. PR is ready to merge. |
Aligns with Dockerfile.claude which already includes bubblewrap. This resolves the 'bubblewrap is unavailable' error at runtime.
thepagent
approved these changes
May 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Codex's Linux sandbox relies on
bubblewrap(bwrap) for inner namespace isolation. This PR:Installs
bubblewrapinDockerfile.codex— aligns withDockerfile.claudewhich already includes it. The official OpenAB Codex image now ships withbwrapout of the box.Documents how to disable the inner sandbox — for users who prefer not to use it (e.g., when the outer OpenAB runtime already provides container/VM isolation), the troubleshooting section in
docs/codex.mdexplains how to setsandbox_mode = "danger-full-access"via config.toml, CLI flag, or Helm values.The inner sandbox is available by default but not mandatory. Users can opt out with a config change.
Changes
Dockerfile.codex: addbubblewrapto apt-get installdocs/codex.md: add troubleshooting entry forbubblewrap is unavailablewith disable instructionsWhat was tested
Closes #908
https://discord.com/channels/1491295327620169908/1491365150664560881/1508104743560417371