trading_agent.doctor.checks.bubblewrap_check
¶
Checks that bwrap can start a sandbox, which the bash terminal needs.
Some Linux systems block the unprivileged namespaces bwrap uses, so the check starts a real, empty sandbox rather than only looking for the program.
Typical usage example:
result = BubblewrapCheck().run()
BubblewrapCheck
¶
Bases: DoctorCheck
Checks the bwrap sandbox.
run
¶
Runs true inside a read-only bwrap sandbox.
Returns:
| Type | Description |
|---|---|
CheckResult
|
OK when the sandbox starts, failed otherwise. |