how to save a docker image locally code example
Example: how to save and load the docker images
docker save -o <path for generated tar file> <image name>
docker load -i <path to image tar file>
docker save -o <path for generated tar file> <image name>
docker load -i <path to image tar file>