kosa8 cloud template
Your own Cloud templates: built from a Dockerfile or an image, restored in about a second
An org template is built once on a kosa8 Cloud host, from a Dockerfile or a registry image (a tag or an @sha256 digest), with an optional setup command, and saved as a snapshot. A sandbox created from it restores that snapshot instead of pulling the image cold:
kosa8 cloud sandbox create --template NAME
For RL task images (SWE-bench, R2E-Gym), import them all by digest with kosa8 cloud template import. Each template keeps one snapshot, so the plan's snapshots limit bounds how many you keep; builds are billed as a sandbox of the template's size while they run.
Example#
kosa8 cloud template build --name py -f Dockerfile kosa8 cloud template ls kosa8 cloud sandbox create --template py
Subcommands#
kosa8 cloud template buildBuild an org template from a Dockerfile or an image
kosa8 cloud template getShow one of the organization's templates, with its build log
kosa8 cloud template importQueue many image templates at once, such as RL task images by digest
kosa8 cloud template lsList the organization's own templates and their build state
kosa8 cloud template rmDelete one of the organization's templates (a build in flight stops; its snapshot is deleted)