Alias
You can usetpl as a shorthand for template:
Subcommands
List templates
List available templates:List flags
Filter by template type (
official, community, user).Maximum number of results to return.
Number of results to skip for pagination.
Include all templates including user templates.
Search templates
Search for templates by name:Search flags
Filter by template type (
official, community, user).Maximum number of results to return.
Number of results to skip for pagination.
Get template details
Get detailed information about a specific template, including README, environment variables, and exposed ports:Create a template
Create a new template:Create flags
Template name.
Docker image (e.g.,
runpod/pytorch:latest).Container disk size in GB.
Persistent volume size in GB.
Volume mount path.
Comma-separated list of ports to expose (e.g.,
8888/http,22/tcp).Environment variables as a JSON object (e.g.,
'{"KEY":"value"}').Comma-separated Docker start commands.
Comma-separated Docker entrypoint commands.
Create as a Serverless template.
Template README content.
Update a template
Update an existing template:Update flags
New template name.
New Docker image name.
New comma-separated list of ports.
New environment variables as a JSON object.
New README content.