mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add a section to each volume page
Signed-off-by: ozlerhakan <hakan.ozler@kodcu.com>
This commit is contained in:
parent
038c3b8287
commit
910ea8adf6
4 changed files with 29 additions and 1 deletions
|
@ -48,3 +48,10 @@ These options are passed directly to the volume driver. Options for
|
|||
different volume drivers may do different things (or nothing at all).
|
||||
|
||||
*Note*: The built-in `local` volume driver does not currently accept any options.
|
||||
|
||||
## Related information
|
||||
|
||||
* [volume inspect](volume_inspect.md)
|
||||
* [volume ls](volume_ls.md)
|
||||
* [volume rm](volume_rm.md)
|
||||
* [Understand Data Volumes](../../userguide/containers/dockervolumes.md)
|
|
@ -12,7 +12,7 @@ parent = "smn_cli"
|
|||
|
||||
Usage: docker volume inspect [OPTIONS] VOLUME [VOLUME...]
|
||||
|
||||
Inspect one or more volumes
|
||||
Return low-level information on a volume
|
||||
|
||||
-f, --format= Format the output using the given go template.
|
||||
--help Print usage
|
||||
|
@ -38,3 +38,10 @@ Example output:
|
|||
|
||||
$ docker volume inspect --format '{{ .Mountpoint }}' 85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d
|
||||
/var/lib/docker/volumes/85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d/_data
|
||||
|
||||
## Related information
|
||||
|
||||
* [volume create](volume_create.md)
|
||||
* [volume ls](volume_ls.md)
|
||||
* [volume rm](volume_rm.md)
|
||||
* [Understand Data Volumes](../../userguide/containers/dockervolumes.md)
|
|
@ -32,3 +32,10 @@ Example output:
|
|||
DRIVER VOLUME NAME
|
||||
local rose
|
||||
local tyler
|
||||
|
||||
## Related information
|
||||
|
||||
* [volume create](volume_create.md)
|
||||
* [volume inspect](volume_inspect.md)
|
||||
* [volume rm](volume_rm.md)
|
||||
* [Understand Data Volumes](../../userguide/containers/dockervolumes.md)
|
|
@ -20,3 +20,10 @@ Removes one or more volumes. You cannot remove a volume that is in use by a cont
|
|||
|
||||
$ docker volume rm hello
|
||||
hello
|
||||
|
||||
## Related information
|
||||
|
||||
* [volume create](volume_create.md)
|
||||
* [volume inspect](volume_inspect.md)
|
||||
* [volume ls](volume_ls.md)
|
||||
* [Understand Data Volumes](../../userguide/containers/dockervolumes.md)
|
Loading…
Reference in a new issue