code: def container_logs(name, tail, follow, timestamps):
      
      if follow:
          return _get_docker().attach(
              name,
              stdout=True,
              stderr=True,
              stream=True
              )
  
      return _docker.logs(
          name,
          stdout=True,
          stderr=True,
          tail=tail,
          timestamps=timestamps,
      )
docs: Wrapper for docker logs, attach commands.