docker load reads a tar archive created by docker save and restores the images and their tags into the local store. It is the import side of the save/load pair used to ferry images between CI jobs.
Common flags
-i, --input - read from a tar file instead of stdin
Download the artifact written by docker save in an earlier job, then docker load -i it before running or pushing. Unlike docker import (which loses image history and config), load preserves the original tags and layer structure.
Key takeaways
load restores saved images with their tags and full history intact.
It is the counterpart to docker save for cross-job image transfer.
Unlike import, load keeps layer structure and image metadata.
Frequently asked questions
docker load Command Reference?
docker load reads a tar archive created by docker save and restores the images and their tags into the local store. It is the import side of the save/load pair used to ferry images between CI jobs.
In CI?
Download the artifact written by docker save in an earlier job, then docker load -i it before running or pushing. Unlike docker import (which loses image history and config), load preserves the original tags and layer structure.