--persistent
and a published hostname with --expose — and you get:
- A stable
<name>-box.run.cloudURL for your app - SSH access without exposing a public SSH port
- VS Code Remote SSH
- File transfer with
scp - Optional custom domains with managed HTTPS
runcloud box
command group. Those commands still work as deprecated aliases — see the
CLI reference for the mapping.
Create a persistent, exposed sandbox
With--expose, the CLI creates a non-pausing sandbox with 2 CPU and 24 GiB
of memory, then attaches its hostname:
3000.
To publish a hostname on a sandbox you already have, expose it after the fact
(it must have been created with --persistent or --idle-pause 0):
Coding-agent image
Useruncloud/box-agent when you want Claude Code and Codex preinstalled:
/workspace:
runcloud/box image when you want the
same persistent development environment without preinstalled coding agents.
SSH
The first setup generates a dedicated key, installs its public half in the sandbox, and adds a managed host entry to~/.ssh/config:
VS Code Remote SSH
Install Microsoft’s Remote - SSH extension, then run:/workspace in VS Code. You can also choose runcloud-my-project from
Remote-SSH: Connect to Host.
Copy files
Prefix the path inside the sandbox with:. Upload a file:
scp,
rsync, SFTP clients, and Git-over-SSH can use the runcloud-my-project host
too.
Custom domains
Attach a hostname you control:status and sslStatus are active.
HTTPS certificates are issued and renewed automatically.
Remove a domain without deleting the sandbox: