このコンテンツは選択した言語では利用できません。

Chapter 23. container


This chapter describes the commands under the container command.

23.1. container create

Usage:

openstack container create [-h] [-f {csv,json,table,value,yaml}]

                                [-c COLUMN] [--max-width <integer>]
                                [--fit-width] [--print-empty] [--noindent]
                                [--quote {all,minimal,none,nonnumeric}]
                                [--sort-column SORT_COLUMN]
                                <container-name> [<container-name> ...]
Copy to Clipboard Toggle word wrap

Create new container

Expand
Table 23.1. Positional Arguments
ValueSummary

<container-name>

New container name(s)

Expand
Table 23.2. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 23.3. Output Formatters
ValueSummary

-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml}

the output format, defaults to table

-c COLUMN, --column COLUMN

specify the column(s) to include, can be repeated

--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

Expand
Table 23.4. Table Formatter
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

Expand
Table 23.5. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 23.6. CSV Formatter
ValueSummary

--quote {all,minimal,none,nonnumeric}

when to include quotes, defaults to nonnumeric

23.2. container delete

Usage:

openstack container delete [-h] [--recursive]

                                <container> [<container> ...]
Copy to Clipboard Toggle word wrap

Delete container

Expand
Table 23.7. Positional Arguments
ValueSummary

<container>

Container(s) to delete

Expand
Table 23.8. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--recursive, -r

Recursively delete objects and container

23.3. container list

Usage:

openstack container list [-h] [-f {csv,json,table,value,yaml}]

                              [-c COLUMN] [--max-width <integer>]
                              [--fit-width] [--print-empty] [--noindent]
                              [--quote {all,minimal,none,nonnumeric}]
                              [--sort-column SORT_COLUMN]
                              [--prefix <prefix>] [--marker <marker>]
                              [--end-marker <end-marker>]
                              [--limit <num-containers>] [--long] [--all]
Copy to Clipboard Toggle word wrap

List containers

Expand
Table 23.9. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--prefix <prefix>

Filter list using <prefix>

--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)

Expand
Table 23.10. Output Formatters
ValueSummary

-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml}

the output format, defaults to table

-c COLUMN, --column COLUMN

specify the column(s) to include, can be repeated

--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

Expand
Table 23.11. Table Formatter
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

Expand
Table 23.12. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 23.13. CSV Formatter
ValueSummary

--quote {all,minimal,none,nonnumeric}

when to include quotes, defaults to nonnumeric

23.4. container save

Usage:

openstack container save [-h] <container>
Copy to Clipboard Toggle word wrap

Save container contents locally

Expand
Table 23.14. Positional Arguments
ValueSummary

<container>

Container to save

Expand
Table 23.15. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

23.5. container set

Usage:

openstack container set [-h] --property <key=value> <container>
Copy to Clipboard Toggle word wrap

Set container properties

Expand
Table 23.16. Positional Arguments
ValueSummary

<container>

Container to modify

Expand
Table 23.17. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--property <key=value>

Set a property on this container (repeat option to set multiple properties)

23.6. container show

Usage:

openstack container show [-h] [-f {json,shell,table,value,yaml}]

                              [-c COLUMN] [--max-width <integer>]
                              [--fit-width] [--print-empty] [--noindent]
                              [--prefix PREFIX]
                              <container>
Copy to Clipboard Toggle word wrap

Display container details

Expand
Table 23.18. Positional Arguments
ValueSummary

<container>

Container to display

Expand
Table 23.19. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 23.20. Output Formatters
ValueSummary

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

the output format, defaults to table

-c COLUMN, --column COLUMN

specify the column(s) to include, can be repeated

Expand
Table 23.21. Table Formatter
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

Expand
Table 23.22. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 23.23. shell formatter
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

23.7. container unset

Usage:

openstack container unset [-h] --property <key> <container>
Copy to Clipboard Toggle word wrap

Unset container properties

Expand
Table 23.24. Positional Arguments
ValueSummary

<container>

Container to modify

Expand
Table 23.25. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--property <key>

Property to remove from container (repeat option to remove multiple properties)

トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat