github.com/brahmaroutu/docker@v1.2.1-0.20160809185609-eb28dde01f16/docs/reference/commandline/volume_inspect.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "volume inspect"
     4  description = "The volume inspect command description and usage"
     5  keywords = ["volume, inspect"]
     6  [menu.main]
     7  parent = "smn_cli"
     8  +++
     9  <![end-metadata]-->
    10  
    11  # volume inspect
    12  
    13  ```markdown
    14  Usage:  docker volume inspect [OPTIONS] VOLUME [VOLUME...]
    15  
    16  Display detailed information on one or more volumes
    17  
    18  Options:
    19    -f, --format string   Format the output using the given go template
    20        --help            Print usage
    21  ```
    22  
    23  Returns information about a volume. By default, this command renders all results
    24  in a JSON array. You can specify an alternate format to execute a
    25  given template for each result. Go's
    26  [text/template](http://golang.org/pkg/text/template/) package describes all the
    27  details of the format.
    28  
    29  Example output:
    30  
    31      $ docker volume create
    32      85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d
    33      $ docker volume inspect 85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d
    34      [
    35        {
    36            "Name": "85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d",
    37            "Driver": "local",
    38            "Mountpoint": "/var/lib/docker/volumes/85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d/_data",
    39            "Status": null
    40        }
    41      ]
    42  
    43      $ docker volume inspect --format '{{ .Mountpoint }}' 85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d
    44      /var/lib/docker/volumes/85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d/_data
    45  
    46  ## Related information
    47  
    48  * [volume create](volume_create.md)
    49  * [volume ls](volume_ls.md)
    50  * [volume rm](volume_rm.md)
    51  * [Understand Data Volumes](../../tutorials/dockervolumes.md)