code: def set_input_container(_container, cfg):
      
      if not _container:
          return False
      if _container.exists():
          cfg["container"]["input"] = str(_container)
          return True
      return False
docs: Save the input for the container in the configurations.