Basic Usage
Mount Path Requirements
The mount path must:- Be an absolute path (start with
/) - Start with one of these prefixes:
/workspace//data//mnt//volumes/
Data Persistence
Data written to the volume mount path persists across sandbox restarts:Crash Safety
Writes to the volume are crash-safe. If a sandbox crashes or is killed, completed writes are preserved:Volume with Other Options
Combine volume attachment with other sandbox options:Error Handling
Limitations
- One volume per sandbox - Currently only one volume can be attached at a time
- Mount path is fixed - Cannot change mount path after sandbox creation
- No concurrent writes - Avoid multiple sandboxes writing to the same files simultaneously