Build a workstation
Describe a Linux workstation, start it on your computer, and open a shell in it.
Describe a Linux workstation, start it on your computer, and open a shell in it. A
workstation is a Linux virtual machine that Ringleader builds to your description and keeps
running until you stop it. On this page it is a plain Debian 13 workstation called
my-opencode-box. The next page puts a
coding agent into it.
Prerequisites
- Ringleader installed, with the Ringleader application running.
Build the workstation
Build the workstation in the Ringleader application or from the command line. Either way, the first workstation takes a few minutes, because Ringleader downloads the Debian 13 image first. Later workstations from the same image start faster.
Note
Use the application
In the Ringleader window, open Workstations and click Add workstation.
Choose Build from scratch.
On The basics, fill in the workstation:
- Namespace:
local, which keeps the workstation on this computer. - Name:
my-opencode-box. - Runs on: This computer.
- Image: Debian 13, which is already chosen.
- Labels: type
role=agent. The next page uses this label to find the workstation.
Click Continue.
- Namespace:
On Tools and configuration, click Claude Code under Coding agent, and git under Devtools, so neither is selected. The workstation starts plain, and the next page adds the tools it needs. Click Continue.
Click Continue on Lifecycle, then Create my-opencode-box on Summary.
Wait until the workstation’s card on the Workstations page says Ready.
Use the command line
Create a file called my-opencode-box.yaml:
apiVersion: workstations.ringleader.dev/v1
kind: Workstation
metadata:
name: my-opencode-box
namespace: local
labels:
role: agent
spec: {}Here’s what these fields mean:
nameis what you call the workstation in every command.namespace: localkeeps it on this computer.role: agentis a label. The next page uses it to find the workstation.- The empty
spectakes Ringleader’s defaults, which give you a Debian 13 workstation on this computer.
Apply the file:
rl apply -f my-opencode-box.yamlWait until it is ready:
rl workstation wait my-opencode-box --for Ready --timeout 10m -n localLog in and use the workstation
Open a shell on the running workstation. In the application, click the terminal button on its card, labeled Open a shell on my-opencode-box. On the command line, run:
rl shell my-opencode-box -n localYou are now logged in to the workstation.
Your username and hostname
sudo works without a password. On
Windows, Ringleader changes the name to fit Linux, as
Login user
describes. The hostname is local-my-opencode-box- followed by a code that keeps it
unique. To choose your own, set hostname under spec.Check which version of Linux the workstation runs:
cat /etc/os-releaseThe output names Debian GNU/Linux 13.
Next, check that the workstation reaches the internet:
curl -I https://example.comThe first line of the output ends in 200, which means the request succeeded. Type
exit to leave the shell.
Understand what happened
Ringleader built a workstation to match your description: the form in the application, or
the file you applied with rl apply. Opening a shell found the workstation’s address and
login key for you, so you didn’t set up SSH. Leaving the shell doesn’t stop the
workstation. It keeps running, with its files, until you stop or delete it.
Next steps
- Run a coding agent
installs the OpenCode coding agent on
my-opencode-boxand gives it a task.