'Get an image from a repository with a specific tag
:param repository_name: The name of the repository, e.g. ubuntu
:type  repository_name: ``str``
:param  tag: (optional) The image tag (defaults to latest)
:type   tag: ``str``
:param  namespace: (optional) The docker namespace
:type   namespace: ``str``
:return: A container image
:rtype: :class:`libcloud.container.base.ContainerImage`'

def get_image(self, repository_name, tag='latest', namespace='library'):

    path = ('/v2/repositories/%s/%s/tags/%s/' % (namespace, repository_name, tag))
    response = self.connection.request(path)
    return self._to_image(repository_name, response.object)
