kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / migrate / template

kosa8 migrate template

Turn an e2b.Dockerfile (and its e2b.toml) into a kosa8 Cloud template

Available from the next release (after v0.22.1). The current release, v0.22.1, does not have kosa8 migrate template: run kosa8 version to see which one you have.

Usage#

kosa8 migrate template [DOCKERFILE]

kosa8 Cloud builds templates from a Dockerfile, so an E2B template carries over: the Dockerfile as it is, the name, size (cpu_count, memory_mb) and start_cmd from the e2b.toml beside it. It prints the kosa8 cloud template build command, or with --build runs it. kosa8 builds with no build context, so a COPY or ADD of a local file cannot work there; for one of those it prints the exact steps to build and push the image yourself and make the template from that.

Options#

FlagTypeWhat it doesDefault
--buildboolbuild it on kosa8 Cloud now (signed in)—
--namestringthe template's name (default: e2b.toml's template_name, else the folder's name)—

Example#

  kosa8 migrate template
  kosa8 migrate template e2b.Dockerfile --name my-agent
  kosa8 migrate template e2b.Dockerfile --build

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · AI Agent Sandbox: Secure and Sovereign for Enterprise · Local models served by llamay · Agent gateway: MAQPNA