@staticmethod
def volumes_to_bind_dict(volumes):
    """
        Convert the volumes' list to the bind-mount dictionary format.

        * volumes: list of Volume instances
        * **return:** dictionary with bind mounts
        """
    result = {}
    for v in volumes:
        result[v.source] = {'bind': v.destination, 'mode': v.mode}
    return result
