Docker

docker save

SafeExport images to tar

docker save -o app.tar <image>

Serializes images for offline transfer — the save→load pair for air-gapped environments.

Examples

  • docker save -o app.tar app:1.4.0 && gzip app.tarSave and compress

Syntax

docker save -o <file.tar> <image>

Before you run it

Output only.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store