
Set up
1
Create an API key
2
Point rakazo at boxd
In the
.env of your rakazo stack:BOXD_ORG is optional. The published-images Compose stack still needs its usual SANDBOX_SUPERVISOR_TOKEN.3
Restart the stack and check it
boxd as the sandbox.edge images the published Compose stack uses by default. The first tagged release with it is the one after v0.3.6.
Build the desktop snapshot ahead of time
rakazo starts every boxd computer from a snapshot namedrakazo-computer-<hash>, with rakazo’s desktop tools and Chrome installed. When the snapshot is missing, rakazo builds it once in the background, from a fresh machine that it deletes afterwards. That takes about a minute. To build it before the first computer starts, run this from a rakazo checkout:
Sleep and wake
A run starts its computer the first time it uses a computer tool. AfterSANDBOX_IDLE_MS without use, rakazo suspends the machine with its memory, so the programs and pages it had open are still there when the next use resumes it. In rakazo’s live tests, resuming took about 70 milliseconds.
Because a running boxd machine is billed, rakazo also suspends a computer that has been up for COMPUTER_MAX_ACTIVE_MS, 2 hours by default, unless a run is using it or someone has taken over its screen.
What each computer gets
- Isolation: every machine is created isolated, with no boxd credentials inside and no route to your organization’s other machines.
- A desktop and a browser: the snapshot has rakazo’s desktop tools and Chrome.
- Screens behind tokens: the desktop is served on the machine’s own HTTPS address, and every screen and terminal still needs its own token, which rakazo’s desktop gateway checks.
- Files through boxd’s file API, and commands whose timeouts and cancellations stop their whole process group.