docs: def update(self, **kwargs):
          """
          Update resource configuration of the containers.
  
          Args:
              blkio_weight (int): Block IO (relative weight), between 10 and 1000
              cpu_period (int): Limit CPU CFS (Completely Fair Scheduler) period
              cpu_quota (int): Limit CPU CFS (Completely Fair Scheduler) quota
              cpu_shares (int): CPU shares (relative weight)
              cpuset_cpus (str): CPUs in which to allow execution
              cpuset_mems (str): MEMs in which to allow execution
              mem_limit (int or str): Memory limit
              mem_reservation (int or str): Memory soft limit
              memswap_limit (int or str): Total memory (memory + swap), -1 to
                  disable swap
              kernel_memory (int or str): Kernel memory limit
              restart_policy (dict): Restart policy dictionary
  
          Returns:
              (dict): Dictionary containing a ``Warnings`` key.
  
          Raises:
              :py:class:`docker.errors.APIError`
                  If the server returns an error.
          """
          return self.client.api.update_container(self.id, **kwargs)