Image v1, v2
Only supported for Image v2
Associate project with image
os image add project
[--project-domain <project-domain>]
<image> <project>
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Image to share (name or ID).
Project to associate with image (name or ID)
Image v1, v2
Create/upload an image
os image create
[--id <id>]
[--store <store>]
[--container-format <container-format>]
[--disk-format <disk-format>]
[--size <size>]
[--min-disk <disk-gb>]
[--min-ram <ram-mb>]
[--location <image-url>]
[--copy-from <image-url>]
[--file <file>]
[--volume <volume>]
[--force]
[--checksum <checksum>]
[--protected | --unprotected]
[--public | --private]
[--property <key=value> [...] ]
[--tag <tag> [...] ]
[--project <project> [--project-domain <project-domain>]]
<image-name>
Image ID to reserve
Upload image to this store
Image version 1 only.
Image container format (default: bare)
Image disk format (default: raw)
Image size, in bytes (only used with –location and –copy-from)
Image version 1 only.
Minimum disk size needed to boot image, in gigabytes
Minimum RAM size needed to boot image, in megabytes
Download image from an existing URL
Image version 1 only.
Copy image from the data store (similar to –location)
Image version 1 only.
Upload image from local file
Create image from a volume
Force image creation if volume is in use (only meaningful with –volume)
Image hash used for verification
Image version 1 only.
Prevent image from being deleted
Allow image to be deleted (default)
Image is accessible to the public
Image is inaccessible to the public (default)
Set a property on this image (repeat for multiple values)
Set a tag on this image (repeat for multiple values)
New in version 2.
Set an alternate project on this image (name or ID). Previously known as –owner.
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
New in version 2.
New image name
List available images
os image list
[--public | --private | --shared]
[--property <key=value>]
[--long]
[--sort <key>[:<direction>]]
[--limit <limit>]
[--marker <marker>]
List only public images
List only private images
List only shared images
Image version 2 only.
Filter output based on property
List additional fields in output
Sort output by selected keys and directions(asc or desc) (default: asc), multiple keys and directions can be specified separated by comma
Maximum number of images to display.
The last image (name or ID) of the previous page. Display list of images after marker. Display all images if not specified.
Only supported for Image v2
Disassociate project with image
os image remove remove
[--project-domain <project-domain>]
<image> <project>
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
Image to unshare (name or ID).
Project to disassociate with image (name or ID)
Save an image locally
os image save
--file <filename>
<image>
Downloaded image save filename (default: stdout)
Image to save (name or ID)
Image v1, v2
Set image properties
os image set
[--name <name>]
[--min-disk <disk-gb>]
[--min-ram <disk-ram>]
[--container-format <container-format>]
[--disk-format <disk-format>]
[--size <size>]
[--protected | --unprotected]
[--public | --private]
[--store <store>]
[--location <image-url>]
[--copy-from <image-url>]
[--file <file>]
[--volume <volume>]
[--force]
[--checksum <checksum>]
[--stdin]
[--property <key=value> [...] ]
[--tag <tag> [...] ]
[--architecture <architecture>]
[--instance-id <instance-id>]
[--kernel-id <kernel-id>]
[--os-distro <os-distro>]
[--os-version <os-version>]
[--ramdisk-id <ramdisk-id>]
[--activate|--deactivate]
[--project <project> [--project-domain <project-domain>]]
<image>
New image name
Minimum disk size needed to boot image, in gigabytes
Minimum RAM size needed to boot image, in megabytes
Image container format (default: bare)
Image disk format (default: raw)
Size of image data (in bytes)
Image version 1 only.
Prevent image from being deleted
Allow image to be deleted (default)
Image is accessible to the public
Image is inaccessible to the public (default)
Upload image to this store
Image version 1 only.
Download image from an existing URL
Image version 1 only.
Copy image from the data store (similar to –location)
Image version 1 only.
Upload image from local file
Image version 1 only.
Update image with a volume
Image version 1 only.
Force image update if volume is in use (only meaningful with –volume)
Image version 1 only.
Image hash used for verification
Image version 1 only.
Allow to read image data from standard input
Image version 1 only.
Set a property on this image (repeat option to set multiple properties)
New in version 2.
Set a tag on this image (repeat for multiple values)
New in version 2.
Operating system architecture
New in version 2.
ID of server instance used to create this image
New in version 2.
ID of kernel image used to boot this disk image
New in version 2.
Operating system distribution name
New in version 2.
Operating system distribution version
New in version 2.
ID of ramdisk image used to boot this disk image
New in version 2.
Activate the image.
New in version 2.
Deactivate the image.
New in version 2.
Set an alternate project on this image (name or ID). Previously known as –owner.
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
New in version 2.
Image to modify (name or ID)
Only supported for Image v2
Unset image tags or properties
os image set
[--tag <tag>]
[--property <property>]
<image>
Unset a tag on this image (repeat option to unset multiple tags)
Unset a property on this image (repeat option to unset multiple properties)
Image to modify (name or ID)