Lead · Practical Usage
By default a sandbox that cannot start means commands run without it; if you want a hard failure instead, set failIfUnavailable yourself.
Grace Lindqvist
·
October 27, 2026
On Ubuntu 24.04 and later, you can install bubblewrap and socat and still find Claude Code's Sandbox will not start; a common cause is that AppArmor's default policy stops bubblewrap from creating the user namespaces it needs. The official sandbox docs have a dedicated section for it, and v2.1.310 made /sandbox and the startup warning name this restriction directly. This article follows the...