Difference between revisions of "Mode=max (docker buildx)"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  https://docs.docker.com/engine/reference/commandline/buildx_build/
 
  https://docs.docker.com/engine/reference/commandline/buildx_build/
  
  mode - Specifies how many layers are exported with the cache. min on only exports layers already in the final build stage, max exports layers for all stages. [[Metadata]] is always exported for the whole build.
+
mode=max
 +
[[mode=min]]
 +
 
 +
  mode - Specifies how many layers are exported with the [[cache]]. min on only exports layers already in the final build stage, max exports layers for all stages. [[Metadata]] is always exported for the whole build.
  
  
Line 9: Line 12:
 
  [[uses: docker/bake-action (Experimental)]]
 
  [[uses: docker/bake-action (Experimental)]]
  
[[Docker Scout Supply Chain Attestations remediation]]
+
== Related ==
 +
* [[Docker Scout Supply Chain Attestations remediation]]
  
 
== See also ==
 
== See also ==

Latest revision as of 21:49, 21 October 2024

https://docs.docker.com/engine/reference/commandline/buildx_build/
mode=max
mode=min
mode - Specifies how many layers are exported with the cache. min on only exports layers already in the final build stage, max exports layers for all stages. Metadata is always exported for the whole build.


--cache-to
Docker buildx cache
uses: docker/bake-action (Experimental)

Related[edit]

See also[edit]

Advertising: