'A volume created outside of Docker can be inspected via the Docker
Volume API.
:param cluster: Flocker cluster.'

@require_cluster(1)
def test_inspect(self, cluster):

    self.require_docker('1.10.0', cluster)
    name = random_name(self)
    d = create_dataset(self, cluster, metadata={u'name': name})
    def created(_):
        client = get_docker_client(cluster, cluster.nodes[0].public_address)
        info = client.inspect_volume(name)
        self.assertEqual((info[u'Driver'], info[u'Name']), (u'flocker', name))
    d.addCallback(created)
    return d
