code: def dockerPredicate(e):
      
      if not isinstance(e, subprocess.CalledProcessError):
          return False
      if e.returncode == 125:
          return True
docs: Used to ensure Docker exceptions are retried if appropriate
  
      :param e: Exception
      :return: True if e retriable, else False