-
-
Save ricardodeazambuja/ad3182531d9c2e1b0d37e78e6e096b64 to your computer and use it in GitHub Desktop.
docker save with a progress bar
This file contains hidden or 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/jaymody/b6ea54e2fb458bdf3d04be01decf9d4d?permalink_comment_id=5271832#gistcomment-5271832