github.com/rsampaio/docker@v0.7.2-0.20150827203920-fdc73cc3fc31/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      Usage: docker volume inspect [OPTIONS] [VOLUME NAME]
    14  
    15      Inspect a volume
    16  
    17      -f, --format=       Format the output using the given go template.
    18  
    19  Returns information about a volume. By default, this command renders all results
    20  in a JSON array. You can specify an alternate format to execute a given template
    21  is executed for each result. Go's
    22  [text/template](http://golang.org/pkg/text/template/) package describes all the
    23  details of the format.
    24  
    25  Example output:
    26  
    27      $ docker volume create
    28      85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d
    29      $ docker volume inspect 85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d
    30      [
    31        {
    32            "Name": "85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d",
    33            "Driver": "local",
    34            "Mountpoint": "/var/lib/docker/volumes/85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d/_data"
    35        }
    36      ]
    37  
    38      $ docker volume inspect --format '{{ .Mountpoint }}' 85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d
    39      "/var/lib/docker/volumes/85bffb0677236974f93955d8ecc4df55ef5070117b0e53333cc1b443777be24d/_data"