`; return; } const search = await pagefind.debouncedSearch(query); if (search === null) { return; } else { const resultsLength = search.results.length const resultsData = await Promise.all(search.results.slice(0, 5).map(r => r.data())); const results = resultsData.map((item, index) => ({...item, index: index + 1})); if (query) { searchBarResults.classList.remove("hidden"); } else { searchBarResults.classList.add("hidden"); } let resultsHTML = `
${resultsLength} results
`; resultsHTML += results .map((item) => { return `
${item.meta.title}

…${item.excerpt}…

`; }) .join(""); if (resultsLength > 5) { resultsHTML += ``; } searchBarResults.innerHTML = resultsHTML; } } searchBarInput.addEventListener("input", search); if (window.heap !== undefined) { searchBarResults.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 Engine 18.02 release notes

18.02.0-ce

2018-02-07

Builder

Client

  • Fix issue of filter in docker ps where health=starting returns nothing moby/moby#35940
  • Annotate "stack" commands to be "swarm" and "kubernetes" docker/cli#804

Experimental

  • LCOW: Coalesce daemon stores, allow dual LCOW and WCOW mode moby/moby#34859
  • LCOW: Raise minimum requirement to Windows RS3 RTM build (16299) moby/moby#36065

Logging

  • Fixed error detection using IsErrNotFound and IsErrNotImplemented for the ContainerLogs method moby/moby#36000

Networking

  • Disable service on release network results in zero-downtime deployments with rolling upgrades moby/moby#35960

Packaging

Runtime

  • Fixes unexpected Docker Daemon shutdown based on pipe error moby/moby#35968
  • Fix some occurrences of hcsshim::ImportLayer failed in Win32: The system cannot find the path specified moby/moby#35924
  • Windows: increase the maximum layer size during build to 127GB moby/moby#35925
  • Fix Devicemapper: Error running DeleteDevice dm_task_run failed moby/moby#35919
  • Fix docker update not updating cpu quota, and cpu-period of a running container moby/moby#36030