by embedding-shape · 3mo ago · 0 comments
Why would you even use bubblewrap once it's running in a container? I've been running Codex in a container since it was publicly available, not even sure what you'd use bubblewrap for when you already separated codex from the rest of your filesystem?
I think neither the bundled bubblewrap nor the Ubuntu 24.04 bubblewrap works properly under Docker with the default options ... Yes, I've just tested that by asking Codex to "Test that bubblewrap is working properly" and then "Test again" after apt-get install bubblewrap.
EDIT: So the solution is to run "codex --dangerously-bypass-approvals-and-sandbox" in a Docker container?
Does it break anything? I didn't notice, I always run codex in "yolo" mode (the whole purpose of running it in docker).
cap_add:
- SYS_ADMIN
security_opt:
- seccomp:unconfined
- apparmor:unconfined