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.

INSTALL

sudo apt install docker-cli
copy
sudo dnf install docker-cli
copy
sudo pacman -S docker
copy
sudo apk add docker-cli
copy
sudo zypper install docker
copy
brew install docker
copy
nix profile install nixpkgs#docker
copy

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid