Generates keyword arguments for the Docker client to create a volume.

        :param action: Action configuration.
        :type action: ActionConfig
        :param volume_name: Volume name.
        :type volume_name: unicode | str
        :param kwargs: Additional keyword arguments to complement or override the configuration-based values.
        :type kwargs: dict
        :return: Resulting keyword arguments.
        :rtype: dict

def get_volume_create_kwargs(self, action, volume_name, kwargs=None):
        """
        Generates keyword arguments for the Docker client to create a volume.

        :param action: Action configuration.
        :type action: ActionConfig
        :param volume_name: Volume name.
        :type volume_name: unicode | str
        :param kwargs: Additional keyword arguments to complement or override the configuration-based values.
        :type kwargs: dict
        :return: Resulting keyword arguments.
        :rtype: dict
        """
        config = action.config
        c_kwargs = dict(name=volume_name)
        if config:
            c_kwargs['driver'] = config.driver
            driver_opts = init_options(config.driver_options)
            if driver_opts:
                c_kwargs['driver_opts'] = {option_name: resolve_value(option_value)
                                           for option_name, option_value in iteritems(driver_opts)}
            update_kwargs(c_kwargs, init_options(config.create_options), kwargs)
        else:
            update_kwargs(c_kwargs, kwargs)
        return c_kwargs