{ switch(e.key) { case 'k': if (e.metaKey || e.ctrlKey) { e.preventDefault() open = !open; if (open) { document.body.classList.add('overflow-hidden'); } else { document.body.classList.remove('overflow-hidden'); } } } }">
`; resultsHTML += results .map((item) => { return `
${item.meta.title}

…${item.excerpt}…

`; }) .join(""); modalSearchResults.innerHTML = resultsHTML; } } modalSearchInput.addEventListener("input", modalSearch); if (window.heap !== undefined) { modalSearchResults.addEventListener('click', function(event) { if (event.target.tagName === 'A' && event.target.closest('.link')) { const searchQuery = event.target.getAttribute('data-query'); const resultIndex = event.target.getAttribute('data-index'); const url = new URL(event.target.href); const properties = { docs_search_target_path: url.pathname, docs_search_target_title: event.target.textContent, docs_search_query_text: searchQuery, docs_search_target_index: resultIndex, docs_search_source_path: window.location.pathname, docs_search_source_title: document.title, }; heap.track("Docs - Search - Click - Result Link", properties); } }); } });

docker plugin enable

DescriptionEnable a plugin
Usagedocker plugin enable [OPTIONS] PLUGIN

Description

Enables a plugin. The plugin must be installed before it can be enabled, see docker plugin install.

Options

OptionDefaultDescription
--timeout30HTTP client timeout (in seconds)

Examples

The following example shows that the sample-volume-plugin plugin is installed, but disabled:

$ docker plugin ls

ID            NAME                                    DESCRIPTION                ENABLED
69553ca1d123  tiborvass/sample-volume-plugin:latest   A test plugin for Docker   false

To enable the plugin, use the following command:

$ docker plugin enable tiborvass/sample-volume-plugin

tiborvass/sample-volume-plugin

$ docker plugin ls

ID            NAME                                    DESCRIPTION                ENABLED
69553ca1d123  tiborvass/sample-volume-plugin:latest   A test plugin for Docker   true
-