docker buildx build --output type=oci,dest=myapp.tar .

Category: Docker

docker buildx build --output type=oci,dest=myapp.tar .

Export the build as an OCI tar archive

Exports the built image as an OCI-format tar archive instead of loading it into Docker.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.