'List volumes. Similar to the ``docker volume ls`` command.
Args:
filters (dict): Server-side list filtering options.
Returns:
(list of :py:class:`Volume`): The volumes.
Raises:
:py:class:`docker.errors.APIError`
If the server returns an error.'

def list(self, **kwargs):

    resp = self.client.api.volumes(**kwargs)
    if (not resp.get('Volumes')):
        return []
    return [self.prepare_model(obj) for obj in resp['Volumes']]
