doctl harness-runtime template create
Generated on 1 Oct 2026
from doctl version
v1.177.0
Usage
doctl harness-runtime template create [flags]Aliases
cDescription
Create a team custom template and kick a build. --name must be unique within your team. --base-template is the platform base to rebase onto. --source-oci-ref is the customer image (registry/repo:tag or digest).
Example
doctl harness-runtime template create --name my-image --base-template codex-base --source-oci-ref registry.digitalocean.com/myreg/agent:v1Flags
| Option | Description |
|---|---|
--base-template |
Platform base to rebase onto (codex-base, opencode-base, claude-code-base, hermes-base, langgraph-base, sandbox, crewai). sandbox carries no agent — use it for a bare sandbox with your own tooling, and run it with ‘doctl harness-runtime create –template |
--format |
Columns for output in a comma-separated list. Possible values: TemplateID, Name, Status, BaseTemplate, CreatedAt. |
--help, -h |
Help for this command |
--name |
Team-unique name for the template (required) |
--no-header |
Return raw data with no headers Default: false |
--source-oci-ref |
Customer OCI image (registry/repo:tag or digest) (required) |
Related Commands
| Command | Description |
|---|---|
| doctl harness-runtime template | Manage team custom sandbox templates |
Global Flags
| Option | Description |
|---|---|
--access-token, -t |
API V2 access token |
--api-url, -u |
Override default API endpoint |
--config, -c |
Specify a custom config file Default: |
--context |
Specify a custom authentication context name |
--http-retry-max |
Set maximum number of retries for requests that fail with a 429 or 500-level error
Default: 5 |
--http-retry-wait-max |
Set the minimum number of seconds to wait before retrying a failed request
Default: 30 |
--http-retry-wait-min |
Set the maximum number of seconds to wait before retrying a failed request
Default: 1 |
--interactive |
Enable interactive behavior. Defaults to true if the terminal supports it (default false)
Default: false |
--output, -o |
Desired output format [text|json] Default: text |
--trace |
Show a log of network activity while performing a command Default: false |
--verbose, -v |
Enable verbose output Default: false |