declaw template (alias declaw tpl) lists and builds the base images sandboxes boot from. See Templates for the concept and the built-in set.
list
List available templates (aliasls).
build
Build a custom template when the built-in templates don’t have the dependencies you need. Provide a Dockerfile, or assemble the spec from flags.| Flag | Default | Description |
|---|---|---|
--dockerfile | Path to a Dockerfile; its contents become the build spec | |
--base-image | Base image to build from | |
--apt-package | apt package to install. Repeatable | |
--run-cmd | Command to run during the build. Repeatable | |
--start-cmd | Command to run when a sandbox starts | |
--disk-mb | 0 | Disk size in MB (0 = default) |
--no-wait | false | Return immediately and build in the background instead of blocking |
info
Show details for a template.delete
Delete a template.Next steps
- Templates — built-in templates and the build API
- Sandbox commands — create a sandbox from a template