Request an invite
Docs menu

osmates template list

List the templates, each with the machines made from it, or your organization's images.

Usage
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

--remote

List the images in your organization's repositories.

--json

Print machine-readable JSON.

JSON output

With --json, it prints an array of objects with these fields.

JSON Schema: /schemas/0/cli/template/list.json

diskSizeintegerRequired

At least 0.

enginestringRequired

One of virtualization, hypervisor.

idstring (uuid)Required
machinesarray of objectsRequired
machines[].currentbooleanRequired
machines[].idstring (uuid)Required
machines[].namestringRequired
namestringRequired
operatingSystemstringRequired

One 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 objectsRequired
images[].createdstring (date-time)
images[].digeststringRequired
images[].operatingSystemstringRequired

One of linux, macOS, windows, freeBSD.

images[].publisherstring
images[].referencestringRequired
images[].repositorystringRequired
images[].signatureobject
images[].sizeintegerRequired

At least 0.

images[].tagstringRequired
images[].templatestring
problemsarray of objectsRequired
problems[].problemstringRequired
problems[].repositorystringRequired
repositoriesobjectRequired
repositories.managedbooleanRequired
repositories.otherSourcesAllowedbooleanRequired
repositories.repositoriesarray of stringsRequired
repositories.signingKeysarray of strings

Fields nested deeper are in the schema.

Exit statuses

Its exit status is one of these.

StatusMeaning
0The command did what it was asked.
1The command failed; with --json, standard error's last line is the error object.
64The command line is wrong, as ArgumentParser found before the command ran.
65What was given is wrong, found while the command ran; the same command fails until it changes.
75The same command can work later with nothing changed, as while an update finishes.
130Control-C cancelled what the command started.

Report a problem with this page