container¶
A container defines a namespace for objects. Applies to Object Storage v1
container create¶
Create new container
openstack container create
[--sort-column SORT_COLUMN]
[--public]
[--storage-policy STORAGE_POLICY]
<container-name>
[<container-name> ...]
-
--sort-column
SORT_COLUMN
¶ specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
-
--public
¶
Make the container publicly accessible
-
--storage-policy
<STORAGE_POLICY>
¶ Specify a particular storage policy to use.
-
container-name
¶
New container name(s)
This command is provided by the python-openstackclient plugin.
container delete¶
Delete container
openstack container delete [--recursive] <container> [<container> ...]
-
--recursive
,
-r
¶
Recursively delete objects and container
-
container
¶
Container(s) to delete
This command is provided by the python-openstackclient plugin.
container list¶
List containers
openstack container list
[--sort-column SORT_COLUMN]
[--marker <marker>]
[--end-marker <end-marker>]
[--limit <num-containers>]
[--long]
[--all]
-
--sort-column
SORT_COLUMN
¶ specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
-
--marker
<marker>
¶ Anchor for paging
-
--end-marker
<end-marker>
¶ End anchor for paging
-
--limit
<num-containers>
¶ Limit the number of containers returned
-
--long
¶
List additional fields in output
-
--all
¶
List all containers (default is 10000)
This command is provided by the python-openstackclient plugin.
container save¶
Save container contents locally
openstack container save <container>
-
container
¶
Container to save
This command is provided by the python-openstackclient plugin.
container set¶
Set container properties
openstack container set --property <key =value> <container>
-
--property
<key=value>
¶ Set a property on this container (repeat option to set multiple properties)
-
container
¶
Container to modify
This command is provided by the python-openstackclient plugin.