'Load an image that was previously saved using
:py:meth:`~docker.api.image.ImageApiMixin.get_image` (or ``docker
save``). Similar to ``docker load``.
Args:
data (binary): Image data to be loaded.'

def load_image(self, data):

    res = self._post(self._url('/images/load'), data=data)
    self._raise_for_status(res)
