-
-
Save kgrvamsi/22e0085963675d99f71f37aa5dea0a8a to your computer and use it in GitHub Desktop.
[docker save] #docker
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
#for not running docker, use save: | |
docker save <dockernameortag> | gzip > mycontainer.tgz | |
#for running or paused docker, use export: | |
docker export <dockernameortag> | gzip > mycontainer.tgz | |
#load | |
gunzip -c mycontainer.tgz | docker load |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment