Mount at creation
PassvolumeMounts (JS) / volume_mounts (Python) to novita.sandbox.create ā a mapping from mount path inside the sandbox to a Volume instance or a volume name.
Mount at runtime
sandbox.mountVolume(name, path) / sandbox.mount_volume(name, path) attaches a volume by name to a mount path on a running sandbox and returns the updated sandbox information.
Unmount
sandbox.unmountVolume(path) / sandbox.unmount_volume(path) detaches the volume mounted at the given path. Pass force to force the unmount.