Appearance
saya image ls
List images
Synopsis
List images in local saya repository.
saya image ls [OPTIONS] [NAME[:TAG]]
Examples
- full table
saya image ls
- full table using format (mind table in format; TAB separator are mandatory)
saya image ls --format 'table {{.Name}}\t{{.Tag}}\t{{.OsVar}}\t{{.Platform}}\t{{.Created}}\t{{.Size}}'
- output <name>:<tag>
saya image ls --format '{{.Name}}:{{.Tag}}'
- filtering
saya image ls --filter img-type=qcow2 --filter reference='appserver:v1*' --filter os-variant=alpine --filter 'label=audience=tester'
Options
--filter strings --filter img-type=qcow2 --filter reference='appserver:v1*' --filter os-variant=alpine --filter 'label=audience=tester'
--format string --format 'table {{.Name}}\t{{.Tag}}\t{{.OsVar}}\t{{.Platform}}\t{{.ImgType}}\t{{.Created|humanizeTime}}\t{{.Size|humanizeBytes}}'
-h, --help help for ls
--result-dst string --result-dst <new-file-path-to-create-and-write-ls-result-to>, output to stdout if not provided
Options inherited from parent commands
--config string config file (default is .saya.yaml file found in the current working directory or $HOME/.saya or /etc/saya/.saya.yaml
--forge string path of the directory that holds saya runtime data(e.g. local repository, VM data, transient session data, etc)
-l, --license-key string license key to use saya
--log-level string logging level, error|warn|info|debug|trace (default "info")
SEE ALSO
- saya image - Build, Push, Pull, List VM images