TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/mikronita/mikrom/llms.txt
Use this file to discover all available pages before exploring further.
mikrom volume group manages persistent block storage that survives across microVM restarts and redeployments. Volumes are attached directly to application VMs at a specified mount path and support three access modes: ReadWriteOnce (exclusive to one instance), ReadWriteMany (shared across instances), and ReadOnlyMany (read-shared across instances). Snapshots let you capture and restore volume state at any point in time.
mikrom volume list
List all persistent volumes in the current project, optionally filtered to a specific application.Filter the listing to volumes attached to, or associated with, this application name.
mikrom volume create
Create a new persistent volume with a display name and a size in MiB. The volume is created unattached and must be explicitly attached to an application before it is accessible inside a VM.Human-readable display name for the volume (e.g.
uploads-prod).Requested volume size, expressed in MiB (mebibytes).
The
--size flag is in MiB. To create a 20 GiB volume, pass --size 20480. There is no default — you must specify the size explicitly.mikrom volume attach
Attach an existing volume to an application at a specified path inside the VM. You can control the access mode to allow exclusive, shared-write, or read-only access.Name of the application to attach the volume to.
ID of the volume to attach. This flag has no short form.
Absolute path inside the VM where the volume will be mounted (e.g.
/data).Access mode for the volume. Short flag is
-A (capital A).0— RWO ReadWriteOnce: mounted read-write by a single instance (default).1— RWX ReadWriteMany: mounted read-write by multiple instances simultaneously.2— ROX ReadOnlyMany: mounted read-only by multiple instances simultaneously.
mikrom volume detach
Detach a volume from an application. The volume’s data is preserved and the volume can be re-attached to the same or a different application afterwards.Name of the application to detach the volume from.
ID of the volume to detach. This flag has no short form.
mikrom volume snapshot
Create a named snapshot of a volume’s current state. Snapshots are point-in-time copies that can be used to restore the volume later.ID of the volume to snapshot. This flag has no short form.
Descriptive name for the snapshot (e.g.
before-schema-change).mikrom volume restore
Restore a volume to the state captured in a named snapshot. All data written after the snapshot was taken will be lost.ID of the volume to restore. This flag has no short form.
Name of the snapshot to restore from.
mikrom volume snapshots list
List all snapshots for a specific volume.ID of the volume whose snapshots you want to list. This flag has no short form.
mikrom volume snapshots delete
Delete a volume snapshot by its snapshot ID. Prompts for confirmation unless--yes is passed.
ID of the snapshot to delete. This flag has no short form.
Skip the interactive confirmation prompt.
mikrom volume delete
Permanently delete a volume and all data stored in it. Prompts for confirmation unless--yes is provided.
ID of the volume to delete. This flag has no short form.
Skip the interactive confirmation prompt.