Docker save/load lose original image repository/name/tag

Use

docker save -o filename.tar <repo>:<tag>

The command docker save <image id> removes the repository and tag names.

To solve this, use docker save <repo>:<tag> it will keep the repository and tag name in the saved file. For example:

docker save -o ubutu-18.04.tar ubuntu:18.04

Leave a Comment