code: def on_server_start(self):
          
          self._container = self._docker_client.containers.run(self.docker_image_name, detach=True, **self.docker_params)
          self.signal_ready()
  
          for log_line in self.get_lines():
              try:
                  alert_dict = self.parse_line(log_line)
                  if alert_dict:
                      self.add_alert_to_queue(alert_dict)
              except Exception:
                  self.logger.exception(None)
docs: Service run loop function.
  
          Run the desired docker container with parameters and start parsing the monitored file for alerts.