I'm not sure yet how to reproduce it but it seems that e.g. removing a running sandbox from the TUI prevents creating a new one:
~/git/sbx-template-pi [master|✔] ❯❯❯ sbx diagnose
sbx diagnose
─────────────────────────────────────────
Installation
✓ CLI binary — found
/opt/homebrew/Caskroom/sbx/0.31.0/bin/sbx
✓ Daemon — healthy
version v0.31.0
Connection
✓ Version match — v0.31.0
Storage
✓ Storage directories — all 1 paths present
✓ Directory permissions — all writable
Connection
✓ Socket — responsive
✓ Authentication — authenticated
─────────────────────────────────────────
7 passed
~/git/sbx-template-pi [master|✔] ❯❯❯ sbx ls
No sandboxes found.
Launch one: sbx run claude
~/git/sbx-template-pi [master|✔] ❯❯❯ sbx run --debug --kit ./sbx-kits/pi-zai/ pi
Creating new sandbox 'pi-sbx-template-pi'...
ERROR: failed to create sandbox: create runtime: create runtime: sandboxd error: status 500: failed to create network: Error response from daemon: already exists
I'll update this issue if/when I understand how to reproduce
I'm not sure yet how to reproduce it but it seems that e.g. removing a running sandbox from the TUI prevents creating a new one:
I'll update this issue if/when I understand how to reproduce