This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# If you're impatient like me, a progress bar can be a comforting way to impulsively check the progress | |
# of your docker save command | |
# | |
# You'll need tqdm installed (https://github.com/tqdm/tqdm) for this to work. | |
docker save IMAGE_NAME | tqdm --bytes --total $(docker image inspect IMAGE_NAME --format='{{.Size}}') > OUTPUT_TAR_NAME |