mirror of https://github.com/docker/cli.git
Merge pull request #27934 from yuexiao-wang/volume-create
Update descriptions for the docker volume sub-command, such as create,list and inspect
This commit is contained in:
commit
ee42b42f3c
|
@ -36,13 +36,13 @@ volume is a specially-designated directory that by-passes storage driver
|
||||||
management.
|
management.
|
||||||
|
|
||||||
Data volumes persist data independent of a container's life cycle. When you
|
Data volumes persist data independent of a container's life cycle. When you
|
||||||
delete a container, the Engine daemon does not delete any data volumes. You can
|
delete a container, the Docker daemon does not delete any data volumes. You can
|
||||||
share volumes across multiple containers. Moreover, you can share data volumes
|
share volumes across multiple containers. Moreover, you can share data volumes
|
||||||
with other computing resources in your system.
|
with other computing resources in your system.
|
||||||
|
|
||||||
To see help for a subcommand, use:
|
To see help for a subcommand, use:
|
||||||
|
|
||||||
docker volume CMD help
|
docker volume COMMAND --help
|
||||||
|
|
||||||
For full details on using docker volume visit Docker's online documentation.
|
For full details on using docker volume visit Docker's online documentation.
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ func runList(dockerCli *command.DockerCli, opts listOptions) error {
|
||||||
|
|
||||||
var listDescription = `
|
var listDescription = `
|
||||||
|
|
||||||
Lists all the volumes Docker knows about. You can filter using the **-f** or
|
Lists all the volumes Docker manages. You can filter using the **-f** or
|
||||||
**--filter** flag. The filtering format is a **key=value** pair. To specify
|
**--filter** flag. The filtering format is a **key=value** pair. To specify
|
||||||
more than one filter, pass multiple flags (for example,
|
more than one filter, pass multiple flags (for example,
|
||||||
**--filter "foo=bar" --filter "bif=baz"**)
|
**--filter "foo=bar" --filter "bif=baz"**)
|
||||||
|
|
Loading…
Reference in New Issue