'Tag this image into a repository. Similar to the ``docker tag``
command.
Args:
repository (str): The repository to set for the tag
tag (str): The tag name
force (bool): Force
Raises:
:py:class:`docker.errors.APIError`
If the server returns an error.
Returns:
(bool): ``True`` if successful'

def tag(self, repository, tag=None, **kwargs):

    return self.client.api.tag(self.id, repository, tag=tag, **kwargs)
