Difference between revisions of "Mode=max (docker buildx)"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
mode=max | mode=max | ||
− | mode=min | + | [[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. | 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. |
Revision as of 21:48, 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)
Docker Scout Supply Chain Attestations remediation
See also
docker buildx build
docker buildx
: [create | use | du | build | inspect | bake | prune | prune --help | --help
], buildx cache,mode=max
Advertising: