The rtlab CLI
Onboarding a new lab
Add your own lab from a JSON spec or CLI flags, and verify it on a target.
You can add a lab of your own without editing the catalog by hand, using rtlab lab.
From flags:
rtlab lab add --id my-lab --name "My Lab" --lab-domain web \
--kind image --image nginxdemos/hello --port 80 --mem 256
From a JSON spec (the same shape as a catalog entry):
rtlab lab import ./my-lab.json
Supported source kinds: image, build, compose, vulhub, k8s, terraform. Manage your labs with rtlab lab list | show <id> | remove <id>.
Add --verify --remote user@host --ssh-key <file> --private to deploy the lab on a server, confirm it is reachable, destroy it, and record the result — a full end-to-end check before you rely on it.