'List the tags (versions) in a repository
:param  repository_name: The name of the repository e.g. \'ubuntu\'
:type   repository_name: ``str``
:param  namespace: (optional) The docker namespace
:type   namespace: ``str``
:param  max_count: The maximum number of records to return
:type   max_count: ``int``
:return: A list of images
:rtype: ``list`` of :class:`libcloud.container.base.ContainerImage`'

def list_images(self, repository_name, namespace='library', max_count=100):

    path = ('/v2/repositories/%s/%s/tags/?page=1&page_size=%s' % (namespace, repository_name, max_count))
    response = self.connection.request(path)
    images = []
    for image in response.object['results']:
        images.append(self._to_image(repository_name, image))
    return images
