docstr: Returns the logs of the container produced until now.
docstr_tok: ["Returns","the","logs","of","the","container","produced","until","now","."]
code: def get_container_logs(self) -> str:
      """Returns the logs of the container produced until now."""
      return "".join(
          [chr(c) for c in self.container.logs(until=datetime.now())]
      )
  
file_path: pytorch-lightning/src/lightning/app/utilities/packaging/docker.py
imports: import os
  import pickle
  import shutil
  import sys
  from datetime import datetime
  from typing import Optional
  from lightning.app import _PROJECT_ROOT, LightningWork
  from lightning.app.storage.path import _shared_local_mount_path
  from lightning.app.utilities.imports import _is_docker_available, _is_jinja2_available, requires
label_desc: Use image node_id 5 for calling the DockerRunner obj's underlying member method code with example usage: obj.get_container_logs() and returns: str