A workspace is an isolated micro-VM running full Debian 12 Linux with systemd, SSH access, and its own private IP address. Each workspace gets dedicated CPU, RAM, and disk - nothing is shared with other workspaces. Workspaces are the core primitive in Rigbox. You create one, run code inside it, expose services to the internet, and tear it down when you’re done.Documentation Index
Fetch the complete documentation index at: https://docs.rigbox.dev/llms.txt
Use this file to discover all available pages before exploring further.
Workspace Lifecycle
Every workspace moves through a predictable set of states:| Status | Description |
|---|---|
provisioned | VM is allocated but not yet booted |
running | VM is booted and accepting connections |
stopped | VM is shut down; disk state is preserved |
deleted | VM and all data are permanently removed |
A stopped workspace retains its disk contents. You can restart it at any time without losing files or installed packages.
Creating a Workspace
Use the Rigbox CLI to create a workspace. Replace<WORKSPACE_NAME> with a name of your choice (for example, my-project):
base template. If requested resources are below the template or catalog floor, Rigbox raises them before creating the workspace. rig workspace new prints the new workspace’s ID, status, and connection info on stdout.
For the underlying HTTP shape, see Create Workspace in the API reference.
Quick Deploy with a Template
If you don’t need custom sizing, deploy from a pre-configured template in one command:rig workspace spawn creates the workspace, starts it, and waits until it’s ready - all in one call. See Images & Templates for the list of templates, or Quick Deploy for the API.
Starting a Workspace
Boot a previously-stopped workspace and wait for it to becomerunning:
rig workspace start polls the workspace status internally and returns once the VM is up. If a stopped workspace is below its template or catalog resource floor, Rigbox raises the stored resources before booting. Add --wait-for-apps to wait for workspace apps to report active before the command returns. For scripting, rig workspace ls prints the current state. See Start Workspace for the API form.
Workspace is ready
Oncerunning, you can SSH in, expose ports, install catalog apps, and more.
Stopping a Workspace
Stopping a workspace shuts down the VM but preserves the disk. You can restart it later.Resizing a Workspace
You can change the RAM, vCPU count, and disk size of a workspace. The workspace must be stopped first.Environment Variables
Set environment variables that are injected into the workspace on boot.Live Metrics
Monitor CPU, RAM, and disk usage in real time.Logs
Tail recent workspace system logs or follow them in real time:/logs/stream returns Server-Sent Events.
Deleting a Workspace
Complete Example: Spawn a Workspace
End-to-end with a single command -rig workspace spawn creates the workspace, boots it, and waits until it’s ready:
Next Steps
- Images & Templates - choose the right base image
- Expose Ports & Route Apps - make services accessible at
*.rigbox.dev - Catalog Apps - install VS Code, Jupyter, and more in one call