CLI (odx)Command reference
odx image
Manage images (system images and snapshots)
odx image add-label
Add labels to an image
Usage:
odx image add-label [--overwrite] <image> <key=value>... [flags]
Flags:
-h, --help help for add-label
--overwrite overwrite labels that already existodx image delete
Delete one or more images
Usage:
odx image delete <image>... [flags]
Flags:
-h, --help help for delete
--no-wait do not wait for the action to finishodx image describe
Describe an image
Usage:
odx image describe <image> [flags]
Flags:
-h, --help help for describe
-o, --output stringArray output format: json or yamlodx image disable-protection
Disable resource protection for an image
Usage:
odx image disable-protection <image> delete [flags]
Flags:
-h, --help help for disable-protectionodx image enable-protection
Enable resource protection for an image
Usage:
odx image enable-protection <image> delete [flags]
Flags:
-h, --help help for enable-protectionodx image list
List images.
Columns: age, architecture, created, created_from, deprecated, description, disk_size, id, image_size, labels, locations, name, os_flavor, os_version, protection, status, type
Usage:
odx image list [options] [flags]
Aliases:
list, ls
Flags:
-h, --help help for list
--location string only images available in this location
-o, --output stringArray output format: json, yaml, noheader, columns=a,b,c (repeatable)
-l, --selector string label selector, e.g. env=prod,!tmp
-t, --type strings only images of this type: system, app, snapshot, backup (repeatable)odx image remove-label
Remove labels from an image
Usage:
odx image remove-label <image> (--all | <key>...) [flags]
Flags:
-a, --all remove all labels
-h, --help help for remove-labelodx image update
Update an image
Usage:
odx image update --description <text> <image> [flags]
Flags:
--description string new description
-h, --help help for update