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.
buildx/docs/guides/exporters/tar.md

755 B

Tarball exporter

The tar exporter outputs the root filesystem from the build result into a local tarball file. This exporter operates similarly to the local exporter, however, instead of exporting multiple files together, it bundles all of them up together into a POSIX tar.

Synopsis

Build a container image using the tar exporter:

$ docker buildx build --output type=tar[,parameters] .

The following table describes the available parameters that you can pass to --output for type=tar:

Parameter Value Default Description
dest String Path to generate the tarball at

Further reading