code: def inspect_volume(self, name):
          
          url = self._url('/volumes/{0}', name)
          return self._result(self._get(url), True)
docs: Retrieve volume info by name.
  
          Args:
              name (str): volume name
  
          Returns:
              (dict): Volume information dictionary
  
          Raises:
              :py:class:`docker.errors.APIError`
                  If the server returns an error.
  
          Example:
  
              >>> cli.inspect_volume('foobar')
              {u'Driver': u'local',
               u'Mountpoint': u'/var/lib/docker/volumes/foobar/_data',
               u'Name': u'foobar'}