code: def pull_image(self, image):
          
          def callback(msg):
              self.project.emit("log.info", {"message": msg})
          yield from self.manager.pull_image(image, progress_callback=callback)
docs: Pull image from docker repository