ocloud emulator
Generated from ocloud 3.17.3. All ocloud commands · Olef Cloud overview · olef commands
Create, boot, attach, snapshot, share, view, and run standalone cloud emulators
Global options (--org, --project-root, --quiet, --redact) apply across commands; see the ocloud command catalog.
ocloud emulator adopt
Section titled “ocloud emulator adopt”Turn a workspace’s emulator into a named cloud emulator, once
ocloud emulator adopt --help| Argument | Description |
|---|---|
<workspace> |
Required. The workspace (name or id) |
--name |
Required. The cloud emulator’s name |
ocloud emulator attach
Section titled “ocloud emulator attach”Attach a running cloud emulator to this machine’s adb and publish an Attachment Record so olef can drive it
ocloud emulator attach --help| Argument | Description |
|---|---|
<emulator> |
Required. Cloud emulator name (<name> or cloud:<name>) |
--shared |
Attach although someone else is attached |
--port |
Local adb port (default: a free one from 15600) |
ocloud emulator boot
Section titled “ocloud emulator boot”Boot a cloud emulator and wait until it has finished starting
ocloud emulator boot --help| Argument | Description |
|---|---|
<emulator> |
Required. Cloud emulator name (<name> or cloud:<name>) |
--attach |
Attach it to local adb once running |
--no-wait |
Return once asked, without waiting |
ocloud emulator create
Section titled “ocloud emulator create”Create a cloud emulator: a named device with its own disk, kept while stopped (billed for storage) and booted on a cloud host (billed for compute while it runs)
ocloud emulator create --help| Argument | Description |
|---|---|
<name> |
Required. Its name (cloud:<name>) |
--profile |
Device and image, from the catalog (default phone-36) |
--image |
A system image from the catalog, instead of the profile’s |
--ram |
RAM, e.g. 4G or 4096 (MB) |
--cores |
|
--disk |
Disk size, e.g. 16G |
--near |
Place it in this workspace’s zone (fast and free traffic between them) |
--zone |
|
--idle-stop-min |
Stop it after this many minutes without use (default 15) |
--max-run-hours |
Stop a run after this many hours (default 8) |
--boot |
Boot it once created |
ocloud emulator delete
Section titled “ocloud emulator delete”Delete a stopped cloud emulator and its disk
ocloud emulator delete --help| Argument | Description |
|---|---|
<emulator> |
Required. Cloud emulator name (<name> or cloud:<name>) |
ocloud emulator detach
Section titled “ocloud emulator detach”Detach a cloud emulator from this machine (it keeps running)
ocloud emulator detach --help| Argument | Description |
|---|---|
<emulator> |
Required. Cloud emulator name (<name> or cloud:<name>) |
ocloud emulator list
Section titled “ocloud emulator list”List your Olef Cloud emulators and whether each is attached locally
ocloud emulator list --helpocloud emulator logs
Section titled “ocloud emulator logs”A cloud emulator’s boot log (why a boot failed)
ocloud emulator logs --help| Argument | Description |
|---|---|
<emulator> |
Required. Cloud emulator name (<name> or cloud:<name>) |
ocloud emulator reset
Section titled “ocloud emulator reset”Reset a cloud emulator back to its image: apps and data go
ocloud emulator reset --help| Argument | Description |
|---|---|
<emulator> |
Required. Cloud emulator name (<name> or cloud:<name>) |
ocloud emulator run
Section titled “ocloud emulator run”Boot and attach a cloud emulator, run a command with OLEF_DEVICE and ANDROID_SERIAL set, and unconditionally detach on exit or signal (D6 crash-safe billing wrapper)
ocloud emulator run --help| Argument | Description |
|---|---|
<emulator> |
Required. Cloud emulator name (<name> or cloud:<name>) |
--shared |
Attach although someone else is attached |
--stop-on-exit |
Also stop the cloud emulator when the command finishes (stops compute billing immediately) |
<command> |
Required. Command to run after -- |
ocloud emulator share
Section titled “ocloud emulator share”Share a cloud emulator with your org’s members, or stop sharing it
ocloud emulator share --help| Argument | Description |
|---|---|
<emulator> |
Required. Cloud emulator name (<name> or cloud:<name>) |
--off |
Stop sharing it |
ocloud emulator snapshot list
Section titled “ocloud emulator snapshot list”List the saved states
ocloud emulator snapshot list --help| Argument | Description |
|---|---|
<emulator> |
Required. Positional argument. |
ocloud emulator snapshot load
Section titled “ocloud emulator snapshot load”Load a saved state
ocloud emulator snapshot load --help| Argument | Description |
|---|---|
<emulator> |
Required. Positional argument. |
<name> |
Required. Positional argument. |
ocloud emulator snapshot save
Section titled “ocloud emulator snapshot save”Save the running state under a name
ocloud emulator snapshot save --help| Argument | Description |
|---|---|
<emulator> |
Required. Positional argument. |
<name> |
Required. Positional argument. |
ocloud emulator stop
Section titled “ocloud emulator stop”Stop a cloud emulator: its Quick Boot state is saved, compute billing stops
ocloud emulator stop --help| Argument | Description |
|---|---|
<emulator> |
Required. Cloud emulator name (<name> or cloud:<name>) |
ocloud emulator viewer
Section titled “ocloud emulator viewer”A link to a running cloud emulator’s live viewer, hosted by Olef
ocloud emulator viewer --help| Argument | Description |
|---|---|
<emulator> |
Required. Cloud emulator name (<name> or cloud:<name>) |
--view |
Watch only, without tapping or typing |