LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

docker-image-load

load images from tar archives

TLDR

Load an image from a tar archive
$ docker image load -i [image.tar]
copy
Load an image from stdin
$ cat [image.tar] | docker image load
copy
Load an image with quiet output
$ docker image load -q -i [image.tar]
copy
Load only a specific platform variant
$ docker image load --platform [linux/amd64] -i [image.tar]
copy

SYNOPSIS

docker image load [options]

DESCRIPTION

docker image load loads a Docker image from a tar archive (even if compressed with gzip, bzip2, xz, or zstd) created by docker image save, restoring the image layers and metadata to the local Docker daemon.
The tar archive contains all image layers, configuration, and manifest data needed to fully reconstruct the image. Loading an image preserves its repository tags and digests exactly as they were when saved. This makes docker image load ideal for air-gapped environments, backup/restore workflows, and distributing images via physical media or secure file transfer.
The command can read from a file specified with -i or from stdin, enabling flexible integration with compression tools and network transfers.

PARAMETERS

-i, --input file

Read from tar archive file instead of STDIN.
-q, --quiet
Suppress load output.
--platform value
Load only the given platform variant(s), formatted as "os[/arch[/variant]]" (e.g., linux/amd64). Can be specified multiple times.

CAVEATS

The tar archive must have been created with docker image save or a compatible tool. Loading an image does not pull missing layers from a registry. Images are loaded into the local Docker daemon only.

HISTORY

docker image load is the modern syntax for the docker load command, introduced as part of Docker's CLI restructuring to group commands under management categories.

SEE ALSO

Copied to clipboard
Kai