Skip to main content

lium templates

List and manage Docker templates used to create pods.

lium templates [SUBCOMMAND] [SEARCH] [OPTIONS]

When invoked with no subcommand, this is a search/list (the default). Subcommands let you create, update, or delete templates.

Subcommands​

SubcommandPurpose
listList or search templates (default behavior)
create …Create a new template
update HUID …Update an existing template
delete HUIDDelete a template

Options for list​

FlagEffect
--category CATFilter by category (ml, web, database, …)
--format FORMATOutput format: table, json, csv

Examples​

lium templates                       # List all templates
lium templates pytorch # Search for pytorch
lium templates --category ml # ML templates only
lium templates list --format json # Machine-readable list

# Create / update / delete
lium templates create --name my-tpl --image pytorch/pytorch:2.4.0
lium templates update tpl-abc123 --name renamed
lium templates delete tpl-abc123

See also​

  • Templates — concept guide
  • lium up — pick a template at pod creation