Docker Files icon

Docker Files

Copy files to and from Docker containers, export container filesystems, and save or load Docker image tar archives

Actions5

Image → Save

AI-generated

Summary

Exports specified Docker images to a tarball binary.

Inputs

  • outputBinaryPropertyName (required) — The binary data property name to store the exported tar archive (default: 'data').
  • imageReferences (required) — One or more image names, tags, digests, or IDs to include in the exported tar archive.
  • saveFileName — Optional binary file name for the exported image tarball (default: 'docker-images.tar').

Output shape

a single binary item containing the image tar archive

The operation fails if no image references are provided. The binary content type is 'application/x-tar'.

Examples

Example 1: Export a specific image and tag to a workflow output item.

Image References: nginx:latest; Output Binary Property: dockerImage; Save File Name: my-nginx.tar

Example 2: Export multiple images with custom naming.

Image References: [redis:7, alpine:3.18]; Output Binary Property: archive; Save File Name: images-backup.tar

Links

Discussion