def METHOD_NAME(distribution, skip_docker, only_docker=False):
    installer_paths = Path(get_src_dir() + '/plugins/').glob('*/*/install.py')
    for install_script in installer_paths:
        plugin_name = install_script.parent.name
        plugin_type = install_script.parent.parent.name
        plugin = importlib.import_module(f'plugins.{plugin_type}.{plugin_name}.install')
        plugin_installer = plugin.Installer(distribution, skip_docker=skip_docker)
        logging.info(f'Installing {plugin_name} plugin.')
        if not only_docker:
            plugin_installer.install()
        else:
            with OperateInDirectory(plugin_installer.base_path):
                plugin_installer.install_docker_images()
        logging.info(f'Finished installing {plugin_name} plugin.\n')