`; resultsHTML += results .map((item) => { let excerpt = item.excerpt; if (excerpt.length > 200) { excerpt = excerpt.substring(0, 200); } return `
${item.meta.title}

…${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 buildx debug build

DescriptionStart a build
Usagedocker buildx debug build [OPTIONS] PATH | URL | -
Aliases
docker build docker builder build docker image build docker buildx b

Experimental

This command is experimental.

Experimental features are intended for testing and feedback as their functionality or design may change between releases without warning or can be removed entirely in a future release.

Description

Start a build

Options

OptionDefaultDescription
--add-hostAdd a custom host-to-IP mapping (format: host:ip)
--allowAllow extra privileged entitlement (e.g., network.host, security.insecure, device)
--annotationAdd annotation to the image
--attestAttestation parameters (format: type=sbom,generator=image)
--build-argSet build-time variables
--build-contextAdditional build contexts (e.g., name=path)
--cache-fromExternal cache sources (e.g., user/app:cache, type=local,src=path/to/dir)
--cache-toCache export destinations (e.g., user/app:cache, type=local,dest=path/to/dir)
--callbuildSet method for evaluating build (check, outline, targets)
--cgroup-parentSet the parent cgroup for the RUN instructions during build
--checkShorthand for --call=check
-f, --fileName of the Dockerfile (default: PATH/Dockerfile)
--iidfileWrite the image ID to a file
--labelSet metadata for an image
--loadShorthand for --output=type=docker
--metadata-fileWrite build result metadata to a file
--networkSet the networking mode for the RUN instructions during build
--no-cacheDo not use cache when building the image
--no-cache-filterDo not cache specified stages
-o, --outputOutput destination (format: type=local,dest=path)
--platformSet target platform for build
--progressautoSet type of progress output (auto, none, plain, quiet, rawjson, tty). Use plain to show container output
--provenanceShorthand for --attest=type=provenance
--pullAlways attempt to pull all referenced images
--pushShorthand for --output=type=registry
-q, --quietSuppress the build output and print image ID on success
--sbomShorthand for --attest=type=sbom
--secretSecret to expose to the build (format: id=mysecret[,src=/local/secret])
--shm-sizeShared memory size for build containers
--sshSSH agent socket or keys to expose to the build (format: default|<id>[=<socket>|<key>[,<key>]])
-t, --tagImage identifier (format: [registry/]repository[:tag])
--targetSet the target build stage to build
--ulimitUlimit options