Orblealpha

CLI

Install

$ curl -fsSL https://orble.tech/install.sh | sh$ orble new

Verify the CLI

We sign every CLI release. orble update and the install script check the signature. To check a build yourself with minisign, download it with the release's manifest and signature:

$ curl -fsSLO https://orble.tech/dl/orble-darwin-arm64 -O https://orble.tech/dl/orble-release.txt -O https://orble.tech/dl/orble-release.txt.minisig$ minisign -Vm orble-release.txt -P RWSzEPa/+F9PS9K775yzpKKQFhykubsqNs9fyKUWcPg7YM80DySa6H1u$ grep orble-darwin-arm64 orble-release.txt && shasum -a 256 orble-darwin-arm64

Boxes

orble new

Create a Linux virtual machine, called a box

--size micro|s|m|l

Select the CPU and memory allocation (see Pricing). Short option: -s

--name <name>

Assign a name to the new box

orble rename <box> <name>

Assign an alias to a box. The original name, hostname and SSH address remain valid

orble resize <box> <s|m|l>

Resize a box to a larger CPU and memory allocation. Disk contents are preserved, but the VM restarts and running processes are terminated

orble ls

List boxes and lifecycle states, with forked boxes grouped under their source. Use --json for JSON output

orble ssh <box> [ssh args]

Connect to a box over SSH. With IPv6 connectivity, use ssh <box>.<account>.orble.tech for direct access

orble exec <box> <command>

Run a shell command in a box, print its output and exit with its exit code

--root

Run the command as root

orble vnc <box>

Open the box's graphical desktop in a browser

orble desktop <box> [--off]

Connect to the box's graphical desktop using a VNC client

orble keep-awake <box> [off]

Disable automatic suspension for a box. Use off to restore suspension when idle

orble suspend <box>

Suspend a box with guest memory and process state preserved

orble resume <box>

Resume a suspended box from its saved memory and process state

orble start <box>

Start a stopped box from its disk. A box is stopped when its own software powers it off (poweroff, halt, shutdown -h); nothing else wakes it, and it's billed for storage only

orble rm <box> [-y]

Permanently delete the box and its disk

orble fork <box> [-n N]

Create 1–10 copies of a box, including disk contents, guest memory and running processes

orble port <box> [port]

Expose a port at a dedicated HTTPS address with account authentication. Omit the port number to list shared ports

--public

Allow access to the shared port without account authentication

--token

Allow access with the port's token, which the command prints. Send it in the X-Orble-Preview-Token header, or open the address with ?orble_preview_token=<token> in a browser

--private

Require account authentication to access the shared port

--new-token

Replace a token port's token. The old token stops working

--off

Remove the HTTPS endpoint for the shared port

orble exit-node [box...]

Route outbound traffic from the specified boxes through the machine running this command

--lan

Allow the selected boxes to access the exit-node machine's local network

--fallback

Use Orble's network for outbound traffic when the exit-node machine is offline

Shared ports

Share a port of a box at its own HTTPS address. A private port opens only for people signed in to your account. A public port opens for anyone with the address. A token port opens for anyone with the address and the port's token. Public and token ports need an account that has added credit.

Use a token port

Send the token in the X-Orble-Preview-Token header. In a browser, open the address once with ?orble_preview_token=<token>; after that you can browse the port without the token. A request without a valid token gets a 404.

$ orble port <box> 3000 --token$ curl -H "X-Orble-Preview-Token: <token>" <address>

Replace a token

Run orble port <box> <port> --new-token to get a new token. The old token stops working at once, and so does a token when you share its port as private or public.

Projects

Each account starts with a Default project. A box belongs to the project where it was created. Forks and private snapshots inherit that project. Use a project slug with the CLI or set ORBLE_PROJECT in your environment.

orble project list

List project names and slugs

orble project create <name>

Create a project

orble --project <slug> new

Create a box in the selected project

Snapshots

Create snapshots from a Dockerfile or an existing box. Snapshots of existing boxes include disk contents, guest memory and process state. Snapshot storage is billed at the storage rate.

orble snapshot <box> [name]

Create a snapshot of a box, including disk contents, memory and running processes

orble snapshot build [-f Dockerfile] [name]

Build a snapshot from a Dockerfile. Use FROM orble.tech/base or FROM orble.tech/<snapshot> as the base

--start <command>

Include the specified running program in the snapshot so it is available in boxes restored from that snapshot

orble snapshots

List account snapshots and the Orble snapshot gallery. Use --json for JSON output

orble new --from <snapshot>

Create a box from a snapshot. Use -s to select a larger size

orble snapshot rm <snapshot>

Permanently delete a snapshot

orble snapshot rename <snapshot> <name>

Assign a new name to a snapshot

Account

orble login

Authenticate the CLI using Google or GitHub

orble logout

Sign this CLI out

orble keys

List the account's registered SSH public keys

orble keys add [file]

Register an SSH public key for access to boxes

orble keys rm <fingerprint>

Remove an SSH public key from the account

orble account

Display account details, credit balance and subscription plan

orble topup [amount]

Add prepaid credit to the account