docker build --output type=local,dest=./out .

Category: Docker

docker build --output type=local,dest=./out .

Export build output to a local directory instead of an image

Exports the build result to a local directory instead of creating a Docker image.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.