diff --git a/docker/api/volume.py b/docker/api/volume.py index cfd9a21a..69abe920 100644 --- a/docker/api/volume.py +++ b/docker/api/volume.py @@ -124,7 +124,7 @@ class VolumeApiMixin(object): filters (dict): Filters to process on the prune list. Returns: - (dict): A dict containing a list of deleted volume IDs and + (dict): A dict containing a list of deleted volume names and the amount of disk space reclaimed in bytes. Raises: diff --git a/docs/containers.rst b/docs/containers.rst index eb51ae4c..9b27a306 100644 --- a/docs/containers.rst +++ b/docs/containers.rst @@ -14,6 +14,7 @@ Methods available on ``client.containers``: .. automethod:: create(image, command=None, **kwargs) .. automethod:: get(id_or_name) .. automethod:: list(**kwargs) + .. automethod:: prune Container objects ----------------- diff --git a/docs/images.rst b/docs/images.rst index 7572c2d6..866786de 100644 --- a/docs/images.rst +++ b/docs/images.rst @@ -18,6 +18,7 @@ Methods available on ``client.images``: .. automethod:: push .. automethod:: remove .. automethod:: search + .. automethod:: prune Image objects diff --git a/docs/networks.rst b/docs/networks.rst index f6de38bd..b585f0bd 100644 --- a/docs/networks.rst +++ b/docs/networks.rst @@ -13,6 +13,7 @@ Methods available on ``client.networks``: .. automethod:: create .. automethod:: get .. automethod:: list + .. automethod:: prune Network objects ----------------- diff --git a/docs/volumes.rst b/docs/volumes.rst index 8c0574b5..fcd022a5 100644 --- a/docs/volumes.rst +++ b/docs/volumes.rst @@ -13,6 +13,7 @@ Methods available on ``client.volumes``: .. automethod:: create .. automethod:: get .. automethod:: list + .. automethod:: prune Volume objects --------------