code: def get_image(self, image, chunk_size=DEFAULT_DATA_CHUNK_SIZE):
          
          res = self._get(self._url("/images/{0}/get", image), stream=True)
          return self._stream_raw_result(res, chunk_size, False)
docs: Get a tarball of an image. Similar to the ``docker save`` command.
  
          Args:
              image (str): Image name to get
              chunk_size (int): The number of bytes returned by each iteration
                  of the generator. If ``None``, data will be streamed as it is
                  received. Default: 2 MB
  
          Returns:
              (generator): A stream of raw archive data.
  
          Raises:
              :py:class:`docker.errors.APIError`
                  If the server returns an error.
  
          Example:
  
              >>> image = cli.get_image("busybox:latest")
              >>> f = open('/tmp/busybox-latest.tar', 'wb')
              >>> for chunk in image:
              >>>   f.write(chunk)
              >>> f.close()