Chuyển tới nội dung chính
openstack image list

List available images

Options​

OptionDescription
--publicList only public images
--privateList only private images
--communityList only community images (requires --os-image-api- version 2.5 or later)
--sharedList only shared images (requires --os-image-api- version 2.5 or later)
--allList all images
--property <key=value>Filter output based on property (repeat option to filter on multiple properties)
--name <name>Filter images based on name.
--status <status>Filter images based on status.
--member-status <member-status>Filter images based on member status. The supported options are: accepted, pending, rejected, all.
--project <project>Search by project (admin only) (name or ID)
--project-domain <project-domain>Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--tag <tag>Filter images based on tag. (repeat option to filter on multiple tags)
--hiddenList hidden images
--longList additional fields in output
--sort <key>[:<direction>]Sort output by selected keys and directions (asc or desc) (default: name:asc), multiple keys and directions can be specified separated by comma
--limit <limit>The maximum number of entries to return. If the value exceeds the server-defined maximum, then the maximum value will be used.
--marker <marker>The first position in the collection to return results from. This should be a value that was returned in a previous request.