Skip to main content
Named volumes persist independently of sandboxes. Local volumes default to ~/.microsandbox/volumes/.

msb volume create

msb volumes

Expanded form: msb volume ls. The shorter plural alias msb vols is also available.

msb volume inspect

msb volume rm

Using volumes with sandboxes

Use NAME:GUEST_PATH to mount a volume. Locally, missing named volumes are created and compatible existing volumes are reused. On cloud, create the volume first.
--mount-named accepts kind=dir|disk, disk size, and directory quota. Disk mounts require a size. Conflicting settings on an existing volume fail. Directory and bind mounts accept paired uid and gid guest-owner fallbacks. These do not change host ownership and cannot combine with stat-virt=off or disk mounts.
The CLI distinguishes bind mounts from named volumes by looking for a / or . prefix. ./src:/app is a bind mount (host path). myvolume:/data is a named volume. This matches Docker’s convention.