Execute Command with Multiple Disks
Launches a container with the supplied set of disks each mounted at its
own relative path under /mnt/archil, runs the command to completion,
and shuts down the container. Activation is atomic: every disk mounts
or none of them do.
Relative paths must be non-empty, non-absolute, and contain no . /
.. segments. Mounting two disks at the same relative path is an
error.
Authorizations
API key (format key-{API_KEY})
Body
Map of relative path under /mnt/archil to the disk to mount
there. At least one entry is required. Relative paths must be
non-empty, non-absolute, and contain no . or .. segments.
Each value is either a plain disk ID string (mounts the disk's root, read-write) or an object that additionally selects a subdirectory of the disk and/or marks the mount as read-only.
{
"data": "dsk-abc123",
"logs": {
"disk": "dsk-def456",
"subdirectory": "app/logs",
"readOnly": true
}
}Shell command to execute inside the container
"ls -la /mnt/archil/data /mnt/archil/logs"