save your docker code example
Example 1: docker pack image to file
docker save -o fedora-all.tar fedora
Example 2: docker save in windows
docker save -o image.tar image-name
docker save -o fedora-all.tar fedora
docker save -o image.tar image-name