orl sandbox exec
Run a command in a sandbox; its output streams and its exit code is this command's, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.
orl sandbox exec <sandbox-id> [--] <command...>Run a command in a sandbox; its output streams and its exit code is this command's. Several words are one argv, so put -- before a command with flags of its own: orl sandbox exec <id> -- sh -c 'exit 3' A single quoted word is a shell line: orl sandbox exec <id> 'make && make test'
Flags
| Flag | Type | Required | |
|---|---|---|---|
--cwd | string | no | the working directory |
--env | stringSlice | no | NAME=VALUE (repeatable) |
--exec-id | string | no | name the exec; running this command again with it reattaches instead of starting another |
--timeout | int | no | seconds until the command is stopped |
This wraps the execSandbox API operation.
orl sandbox create-many
Create many sandboxes as one group, printing each as it starts, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.
orl sandbox file list
List a directory in a sandbox, part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing. Usage, every flag and an example.