You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
788 B
788 B
Local exporter
The local
exporter outputs the root filesystem of the build result into a
local directory. This exporter can be used when using buildkit to build
something other than container images.
This exporter is often paired with multi-stage builds, to export only a minimal number of build artifacts, such as self-contained binaries.
Synopsis
Build a container image using the local
exporter:
$ docker buildx build --output type=local[,parameters] .
The following table describes the available parameters that you can pass to
--output
for type=local
:
Parameter | Value | Default | Description |
---|---|---|---|
dest |
String | Path to copy files to |