def rmi(self, force=False, via_name=False):
self.d.remove_image(self.get_full_name() if via_name else self.get_id(), force=force)<EOL>
remove this image

:param force: bool, force removal of the image
:param via_name: bool, refer to the image via name, if false, refer via ID
:return: None