docs: def get_attached_container_create_kwargs(self, action, container_name, kwargs=None):
          """
          Generates keyword arguments for the Docker client to create an attached container.
  
          :param action: Action configuration.
          :type action: ActionConfig
          :param container_name: Container name.
          :type container_name: unicode | str
          :param kwargs: Additional keyword arguments to complement or override the configuration-based values.
          :type kwargs: dict | NoneType
          :return: Resulting keyword arguments.
          :rtype: dict
          """
          client_config = action.client_config
          policy = self._policy
          config_id = action.config_id
          path = resolve_value(policy.default_volume_paths[config_id.map_name][config_id.instance_name])
          user = extract_user(action.config.user)
          c_kwargs = dict(
              name=container_name,
              image=self._policy.base_image,
              volumes=[path],
              user=user,
              network_disabled=True,
          )
          hc_extra_kwargs = kwargs.pop('host_config', None) if kwargs else None
          use_host_config = client_config.features['host_config']
          if use_host_config:
              hc_kwargs = self.get_attached_container_host_config_kwargs(action, None, kwargs=hc_extra_kwargs)
              if hc_kwargs:
                  if use_host_config == USE_HC_MERGE:
                      c_kwargs.update(hc_kwargs)
                  else:
                      c_kwargs['host_config'] = HostConfig(version=client_config.version, **hc_kwargs)
          update_kwargs(c_kwargs, kwargs)
          return c_kwargs