osmates template list
List the templates, each with the machines made from it, or your organization's images.
osmates template list [--remote] [--json]A machine made before the template last changed, as when it was turned back into a machine, run and made a template again, is listed apart: its disk is of the template as it was then. --remote lists the images in your organization's repositories instead, or in yours when it names none: each tag with its digest, who published it and, when your organization names signing keys, whether its signature holds. The login is Docker's, as for template pull. Listing them needs OSMates Team.
Arguments
--remoteList the images in your organization's repositories.
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints an array of objects with these fields.
JSON Schema: /schemas/0/cli/template/list.json
diskSizeintegerRequiredAt least 0.
enginestringRequiredOne of
virtualization,hypervisor.idstring (uuid)Requiredmachinesarray of objectsRequiredmachines[].currentbooleanRequiredmachines[].idstring (uuid)Requiredmachines[].namestringRequirednamestringRequiredoperatingSystemstringRequiredOne of
linux,macOS,windows,freeBSD.sincestring (date-time)Required
With --remote
With --json and --remote, it prints an object with these fields.
JSON Schema: /schemas/0/cli/template/list.remote.json
imagesarray of objectsRequiredimages[].createdstring (date-time)images[].digeststringRequiredimages[].operatingSystemstringRequiredOne of
linux,macOS,windows,freeBSD.images[].publisherstringimages[].referencestringRequiredimages[].repositorystringRequiredimages[].signatureobjectimages[].sizeintegerRequiredAt least 0.
images[].tagstringRequiredimages[].templatestringproblemsarray of objectsRequiredproblems[].problemstringRequiredproblems[].repositorystringRequiredrepositoriesobjectRequiredrepositories.managedbooleanRequiredrepositories.otherSourcesAllowedbooleanRequiredrepositories.repositoriesarray of stringsRequiredrepositories.signingKeysarray of strings
Fields nested deeper are in the schema.
Exit statuses
Its exit status is one of these.
| Status | Meaning |
|---|---|
| 0 | The command did what it was asked. |
| 1 | The command failed; with --json, standard error's last line is the error object. |
| 64 | The command line is wrong, as ArgumentParser found before the command ran. |
| 65 | What was given is wrong, found while the command ran; the same command fails until it changes. |
| 75 | The same command can work later with nothing changed, as while an update finishes. |
| 130 | Control-C cancelled what the command started. |